mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SpamBlacklist
synced 2024-12-18 01:30:42 +00:00
build: Updating dependencies
composer: * mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0 npm: * grunt-banana-checker: 0.11.0 → 0.11.1 Change-Id: I7ad279ce54fd99dcdef439718b32baad112de9e9
This commit is contained in:
parent
af8a304473
commit
fb751efbc5
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.12.1",
|
||||
"mediawiki/mediawiki-phan-config": "0.14.0",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace MediaWiki\Extension\SpamBlacklist;
|
||||
|
||||
use Exception;
|
||||
use InvalidArgumentException;
|
||||
use MediaWiki\MediaWikiServices;
|
||||
use MediaWiki\Revision\SlotRecord;
|
||||
use MediaWiki\Title\Title;
|
||||
|
@ -126,11 +126,10 @@ abstract class BaseBlacklist {
|
|||
* @deprecated Use getSpamBlacklist() or getEmailBlacklist() instead
|
||||
* @param string $type Code for the blacklist
|
||||
* @return BaseBlacklist
|
||||
* @throws Exception
|
||||
*/
|
||||
public static function getInstance( $type ) {
|
||||
if ( !isset( self::$blacklistTypes[$type] ) ) {
|
||||
throw new Exception( "Invalid blacklist type '$type' passed to " . __METHOD__ );
|
||||
throw new InvalidArgumentException( "Invalid blacklist type '$type' passed to " . __METHOD__ );
|
||||
}
|
||||
|
||||
if ( !isset( self::$instances[$type] ) ) {
|
||||
|
|
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -10,7 +10,7 @@
|
|||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.26.0",
|
||||
"grunt": "1.6.1",
|
||||
"grunt-banana-checker": "0.11.0",
|
||||
"grunt-banana-checker": "0.11.1",
|
||||
"grunt-eslint": "24.3.0"
|
||||
}
|
||||
},
|
||||
|
@ -1918,9 +1918,9 @@
|
|||
}
|
||||
},
|
||||
"node_modules/grunt-banana-checker": {
|
||||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.0.tgz",
|
||||
"integrity": "sha512-qXtcxu7y9GFEIx6ELm5jSf+JqvCafdco+t/YsrUhUDNe9AgCnP7X0R+PxT0qZaDftKVrDrR2gPOYqpaAye5bDw==",
|
||||
"version": "0.11.1",
|
||||
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.1.tgz",
|
||||
"integrity": "sha512-CF0h/TXaX9sbF2yIz+fUfJc4Zvms7XGYQ7ZYMD5+vv0LMZzSFf7JSHXDaBEs72nQWw4r4ap5fOW3baAliW+0bQ==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"banana-checker": "src/cli.js"
|
||||
|
@ -5007,9 +5007,9 @@
|
|||
}
|
||||
},
|
||||
"grunt-banana-checker": {
|
||||
"version": "0.11.0",
|
||||
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.0.tgz",
|
||||
"integrity": "sha512-qXtcxu7y9GFEIx6ELm5jSf+JqvCafdco+t/YsrUhUDNe9AgCnP7X0R+PxT0qZaDftKVrDrR2gPOYqpaAye5bDw==",
|
||||
"version": "0.11.1",
|
||||
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.1.tgz",
|
||||
"integrity": "sha512-CF0h/TXaX9sbF2yIz+fUfJc4Zvms7XGYQ7ZYMD5+vv0LMZzSFf7JSHXDaBEs72nQWw4r4ap5fOW3baAliW+0bQ==",
|
||||
"dev": true
|
||||
},
|
||||
"grunt-cli": {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.26.0",
|
||||
"grunt": "1.6.1",
|
||||
"grunt-banana-checker": "0.11.0",
|
||||
"grunt-banana-checker": "0.11.1",
|
||||
"grunt-eslint": "24.3.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue