mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-23 23:25:02 +00:00
build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0 Resolve newly detected error: * mediawiki/no-nodelist-unsupported-methods Change-Id: If43479e88a3d39f507541f3f6b53f23004bd0e1e
This commit is contained in:
parent
0b151e25dc
commit
4e08e000e0
|
@ -10,5 +10,8 @@
|
||||||
},
|
},
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"ecmaVersion": 9
|
"ecmaVersion": 9
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
"es-x/no-hashbang": "warn"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,12 +34,14 @@
|
||||||
return deferred.promise();
|
return deferred.promise();
|
||||||
};
|
};
|
||||||
// popups require title attributes
|
// popups require title attributes
|
||||||
document.querySelectorAll( '.mwe-math-element[data-qid] img' )
|
[].forEach.call(
|
||||||
.forEach( function ( node ) {
|
document.querySelectorAll( '.mwe-math-element[data-qid] img' ),
|
||||||
|
function ( node ) {
|
||||||
if ( isValidId( node.parentNode.parentNode.dataset.qid ) ) {
|
if ( isValidId( node.parentNode.parentNode.dataset.qid ) ) {
|
||||||
node.dataset.title = 'math-unique-identifier';
|
node.dataset.title = 'math-unique-identifier';
|
||||||
}
|
}
|
||||||
} );
|
}
|
||||||
|
);
|
||||||
module.exports = {
|
module.exports = {
|
||||||
type: previewType,
|
type: previewType,
|
||||||
selector: '.mwe-math-element[data-qid] img',
|
selector: '.mwe-math-element[data-qid] img',
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
"wikimedia/server"
|
"wikimedia/server"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"max-len": "off"
|
"max-len": "off",
|
||||||
|
"es-x/no-hashbang": "warn"
|
||||||
}
|
}
|
||||||
}
|
}
|
952
package-lock.json
generated
952
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -17,7 +17,7 @@
|
||||||
"@wdio/spec-reporter": "7.16.13",
|
"@wdio/spec-reporter": "7.16.13",
|
||||||
"api-testing": "1.5.0",
|
"api-testing": "1.5.0",
|
||||||
"commander": "^9.4.1",
|
"commander": "^9.4.1",
|
||||||
"eslint-config-wikimedia": "0.22.1",
|
"eslint-config-wikimedia": "0.24.0",
|
||||||
"grunt": "1.5.3",
|
"grunt": "1.5.3",
|
||||||
"grunt-banana-checker": "0.10.0",
|
"grunt-banana-checker": "0.10.0",
|
||||||
"grunt-contrib-watch": "1.1.0",
|
"grunt-contrib-watch": "1.1.0",
|
||||||
|
|
Loading…
Reference in a new issue