build: Updating npm dependencies

* eslint-config-wikimedia: 0.27.0 → 0.28.0
* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: Ib3d5ebfc33a4d17e1c63d601ba136989866616c5
This commit is contained in:
libraryupgrader 2024-06-07 07:51:58 +00:00
parent 78a58560f5
commit d369d37057
3 changed files with 1680 additions and 2087 deletions

View file

@ -159,7 +159,7 @@
// Use a timeout to prevent up from moving cursor within new text // Use a timeout to prevent up from moving cursor within new text
// Set to nothing first for the same reason // Set to nothing first for the same reason
setTimeout( setTimeout(
function () { () => {
input.value = ''; input.value = '';
input.value = histList[ histPos ]; input.value = histList[ histPos ];
const caretPos = input.value.length; const caretPos = input.value.length;
@ -236,7 +236,7 @@
// print() output will go in the right place. // print() output will go in the right place.
input.value = ''; input.value = '';
// can't preventDefault on input, so also clear it later // can't preventDefault on input, so also clear it later
setTimeout( function () { setTimeout( () => {
input.value = ''; input.value = '';
}, 0 ); }, 0 );
@ -269,7 +269,7 @@
setPending(); setPending();
api.postWithToken( 'csrf', params ) api.postWithToken( 'csrf', params )
.done( function ( result ) { .done( ( result ) => {
if ( result.sessionIsNew === '' && !sentContent ) { if ( result.sessionIsNew === '' && !sentContent ) {
// Session was lost. Resend query, with content // Session was lost. Resend query, with content
printClearBar( 'scribunto-console-cleared-session-lost' ); printClearBar( 'scribunto-console-cleared-session-lost' );
@ -294,7 +294,7 @@
clearPending(); clearPending();
setTimeout( refocus, 0 ); setTimeout( refocus, 0 );
} ) } )
.fail( function ( code, result ) { .fail( ( code, result ) => {
if ( result.error && result.error.info ) { if ( result.error && result.error.info ) {
printError( result.error.info ); printError( result.error.info );
} else if ( result.exception ) { } else if ( result.exception ) {

3753
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,11 +5,11 @@
"test": "grunt test" "test": "grunt test"
}, },
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.27.0", "eslint-config-wikimedia": "0.28.0",
"grunt": "1.6.1", "grunt": "1.6.1",
"grunt-banana-checker": "0.13.0", "grunt-banana-checker": "0.13.0",
"grunt-eslint": "24.3.0", "grunt-eslint": "24.3.0",
"grunt-stylelint": "0.19.0", "grunt-stylelint": "0.20.0",
"stylelint-config-wikimedia": "0.16.1" "stylelint-config-wikimedia": "0.17.1"
} }
} }