Skip to content

Commit e202996

Browse files
committed
Update devDependencies
* @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
1 parent cb55e38 commit e202996

File tree

6 files changed

+644
-546
lines changed

6 files changed

+644
-546
lines changed

build/vnu-jar.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ execFile('java', ['-version'], (error, stdout, stderr) => {
2929
'Attribute “autocomplete” not allowed on element “button” at this point.',
3030
// IE11 doesn't recognise <main> / give the element an implicit "main" landmark.
3131
// Explicit role="main" is redundant for other modern browsers, but still valid.
32-
'The “main” role is unnecessary for element “main”.'
32+
'The “main” role is unnecessary for element “main”.',
33+
// Per https://www.w3.org/TR/html-aria/#docconformance having "aria-disabled" on a link is
34+
// NOT RECOMMENDED, but it's still valid - we explain in the docs that it's not ideal,
35+
// and offer more robust alternatives, but also need to show a less-than-ideal example
36+
'An “aria-disabled” attribute whose value is “true” should not be specified on an “a” element that has an “href” attribute.'
3337
].join('|')
3438

3539
const args = [

js/src/dropdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class Dropdown {
308308
offset.fn = data => {
309309
data.offsets = {
310310
...data.offsets,
311-
...(this._config.offset(data.offsets, this._element) || {})
311+
...this._config.offset(data.offsets, this._element)
312312
}
313313

314314
return data

js/src/tooltip.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ class Tooltip {
476476
offset.fn = data => {
477477
data.offsets = {
478478
...data.offsets,
479-
...(this.config.offset(data.offsets, this.element) || {})
479+
...this.config.offset(data.offsets, this.element)
480480
}
481481

482482
return data

js/tests/unit/.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"prefer-arrow-callback": "off",
2828
"prefer-rest-params": "off",
2929
"prefer-template": "off",
30+
"unicorn/prefer-add-event-listener": "off",
3031
"unicorn/prefer-spread": "off"
3132
}
3233
}

0 commit comments

Comments
 (0)