Merge "build: Updating npm dependencies"

This commit is contained in:
jenkins-bot 2023-03-30 12:59:22 +00:00 committed by Gerrit Code Review
commit 8e3007bd72
5 changed files with 429 additions and 539 deletions

View file

@ -10,5 +10,8 @@
},
"parserOptions": {
"ecmaVersion": 9
},
"rules": {
"es-x/no-hashbang": "warn"
}
}

View file

@ -34,12 +34,14 @@
return deferred.promise();
};
// popups require title attributes
document.querySelectorAll( '.mwe-math-element[data-qid] img' )
.forEach( function ( node ) {
[].forEach.call(
document.querySelectorAll( '.mwe-math-element[data-qid] img' ),
function ( node ) {
if ( isValidId( node.parentNode.parentNode.dataset.qid ) ) {
node.dataset.title = 'math-unique-identifier';
}
} );
}
);
module.exports = {
type: previewType,
selector: '.mwe-math-element[data-qid] img',

View file

@ -4,6 +4,7 @@
"wikimedia/server"
],
"rules": {
"max-len": "off"
"max-len": "off",
"es-x/no-hashbang": "warn"
}
}

952
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -17,7 +17,7 @@
"@wdio/spec-reporter": "7.16.13",
"api-testing": "1.5.0",
"commander": "^9.4.1",
"eslint-config-wikimedia": "0.22.1",
"eslint-config-wikimedia": "0.24.0",
"grunt": "1.5.3",
"grunt-banana-checker": "0.10.0",
"grunt-contrib-watch": "1.1.0",