mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-27 09:43:06 +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: Ib661c3c07825d151bb817a219f3104afbf30ec4b
This commit is contained in:
parent
0fddf03389
commit
b779ae7026
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"mediawiki/mediawiki-codesniffer": "41.0.0",
|
"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",
|
"mediawiki/minus-x": "1.1.1",
|
||||||
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
"php-parallel-lint/php-console-highlighter": "1.0.0",
|
||||||
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
"php-parallel-lint/php-parallel-lint": "1.3.2"
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
|
|
||||||
namespace MediaWiki\Extension\CategoryTree;
|
namespace MediaWiki\Extension\CategoryTree;
|
||||||
|
|
||||||
use Exception;
|
|
||||||
use FormatJson;
|
use FormatJson;
|
||||||
|
use InvalidArgumentException;
|
||||||
use MediaWiki\Config\Config;
|
use MediaWiki\Config\Config;
|
||||||
use MediaWiki\MediaWikiServices;
|
use MediaWiki\MediaWikiServices;
|
||||||
|
|
||||||
|
@ -262,7 +262,6 @@ class OptionManager {
|
||||||
* @param array $options
|
* @param array $options
|
||||||
* @param string $enc
|
* @param string $enc
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws Exception
|
|
||||||
*/
|
*/
|
||||||
private static function encodeOptions( array $options, $enc ) {
|
private static function encodeOptions( array $options, $enc ) {
|
||||||
if ( $enc === 'mode' || $enc === '' ) {
|
if ( $enc === 'mode' || $enc === '' ) {
|
||||||
|
@ -270,7 +269,7 @@ class OptionManager {
|
||||||
} elseif ( $enc === 'json' ) {
|
} elseif ( $enc === 'json' ) {
|
||||||
$opt = FormatJson::encode( $options );
|
$opt = FormatJson::encode( $options );
|
||||||
} else {
|
} else {
|
||||||
throw new Exception( 'Unknown encoding for CategoryTree options: ' . $enc );
|
throw new InvalidArgumentException( 'Unknown encoding for CategoryTree options: ' . $enc );
|
||||||
}
|
}
|
||||||
|
|
||||||
return $opt;
|
return $opt;
|
||||||
|
|
14
package-lock.json
generated
14
package-lock.json
generated
|
@ -8,7 +8,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.26.0",
|
"eslint-config-wikimedia": "0.26.0",
|
||||||
"grunt": "1.6.1",
|
"grunt": "1.6.1",
|
||||||
"grunt-banana-checker": "0.11.0",
|
"grunt-banana-checker": "0.11.1",
|
||||||
"grunt-eslint": "24.3.0",
|
"grunt-eslint": "24.3.0",
|
||||||
"grunt-stylelint": "0.19.0",
|
"grunt-stylelint": "0.19.0",
|
||||||
"stylelint-config-wikimedia": "0.16.1"
|
"stylelint-config-wikimedia": "0.16.1"
|
||||||
|
@ -2510,9 +2510,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/grunt-banana-checker": {
|
"node_modules/grunt-banana-checker": {
|
||||||
"version": "0.11.0",
|
"version": "0.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.1.tgz",
|
||||||
"integrity": "sha512-qXtcxu7y9GFEIx6ELm5jSf+JqvCafdco+t/YsrUhUDNe9AgCnP7X0R+PxT0qZaDftKVrDrR2gPOYqpaAye5bDw==",
|
"integrity": "sha512-CF0h/TXaX9sbF2yIz+fUfJc4Zvms7XGYQ7ZYMD5+vv0LMZzSFf7JSHXDaBEs72nQWw4r4ap5fOW3baAliW+0bQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"bin": {
|
"bin": {
|
||||||
"banana-checker": "src/cli.js"
|
"banana-checker": "src/cli.js"
|
||||||
|
@ -7218,9 +7218,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"grunt-banana-checker": {
|
"grunt-banana-checker": {
|
||||||
"version": "0.11.0",
|
"version": "0.11.1",
|
||||||
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/grunt-banana-checker/-/grunt-banana-checker-0.11.1.tgz",
|
||||||
"integrity": "sha512-qXtcxu7y9GFEIx6ELm5jSf+JqvCafdco+t/YsrUhUDNe9AgCnP7X0R+PxT0qZaDftKVrDrR2gPOYqpaAye5bDw==",
|
"integrity": "sha512-CF0h/TXaX9sbF2yIz+fUfJc4Zvms7XGYQ7ZYMD5+vv0LMZzSFf7JSHXDaBEs72nQWw4r4ap5fOW3baAliW+0bQ==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"grunt-cli": {
|
"grunt-cli": {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.26.0",
|
"eslint-config-wikimedia": "0.26.0",
|
||||||
"grunt": "1.6.1",
|
"grunt": "1.6.1",
|
||||||
"grunt-banana-checker": "0.11.0",
|
"grunt-banana-checker": "0.11.1",
|
||||||
"grunt-eslint": "24.3.0",
|
"grunt-eslint": "24.3.0",
|
||||||
"grunt-stylelint": "0.19.0",
|
"grunt-stylelint": "0.19.0",
|
||||||
"stylelint-config-wikimedia": "0.16.1"
|
"stylelint-config-wikimedia": "0.16.1"
|
||||||
|
|
Loading…
Reference in a new issue