build: Updating dependencies

composer:
* mediawiki/mediawiki-phan-config: 0.11.1 → 0.12.0
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* grunt: 1.4.0 → 1.5.3
* grunt-banana-checker: 0.9.0 → 0.10.0
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimatch: 3.0.4 → 3.0.8
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* minimist: 1.2.5 → 1.2.7
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.25 → 3.3.4
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2

Additional changes:
* Set `name` in package.json.

Change-Id: I76d70ca68b385b44e647cdbebd1a3e473f3fb566
This commit is contained in:
libraryupgrader 2022-11-11 02:45:11 +00:00 committed by Reedy
parent 40612c5a9d
commit 7a07d22494
5 changed files with 6149 additions and 673 deletions

View file

@ -5,10 +5,10 @@
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "38.0.0",
"mediawiki/mediawiki-phan-config": "0.11.1",
"mediawiki/mediawiki-phan-config": "0.12.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.3.1"
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2"
},
"scripts": {
"lint": "parallel-lint . --exclude vendor --exclude node_modules",

6805
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,13 +1,14 @@
{
"name": "OATHAuth",
"private": true,
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.20.0",
"grunt": "1.4.0",
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0",
"grunt": "1.5.3",
"grunt-banana-checker": "0.10.0",
"grunt-eslint": "24.0.0",
"grunt-stylelint": "0.16.0",
"stylelint-config-wikimedia": "0.11.1"
}

View file

@ -147,7 +147,6 @@ class HookHandler implements
}
$info = $context->getLanguage()->commaList( $list );
$disabledInfo = [ 'oathauth-disabledgroups' => [
// @phan-suppress-next-line SecurityCheck-XSS T183174
'type' => 'info',
'label-message' => [ 'oathauth-prefs-disabledgroups',
\Message::numParam( count( $disabledGroups ) ) ],

View file

@ -5,6 +5,9 @@ namespace MediaWiki\Extension\OATHAuth\Tests\Auth;
use MediaWiki\Auth\AuthenticationRequestTestCase;
use MediaWiki\Extension\OATHAuth\Auth\TOTPAuthenticationRequest;
/**
* @covers \MediaWiki\Extension\OATHAuth\Auth\TOTPAuthenticationRequest
*/
class TOTPAuthenticationRequestTest extends AuthenticationRequestTestCase {
protected function getInstance( array $args = [] ) {