build: Updating dependencies

composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: Ie5c8d9cfb856600a32c2bd50d518b4388bde1051
This commit is contained in:
libraryupgrader 2021-05-14 04:09:17 +00:00
parent c5ec76a32d
commit e15f62f4c3
4 changed files with 128 additions and 1139 deletions

View file

@ -1,10 +1,10 @@
{ {
"require-dev": { "require-dev": {
"mediawiki/mediawiki-codesniffer": "35.0.0", "mediawiki/mediawiki-codesniffer": "36.0.0",
"mediawiki/mediawiki-phan-config": "0.10.6", "mediawiki/mediawiki-phan-config": "0.10.6",
"mediawiki/minus-x": "1.1.1", "mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0", "php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0" "php-parallel-lint/php-parallel-lint": "1.3.0"
}, },
"scripts": { "scripts": {
"fix": [ "fix": [

View file

@ -360,13 +360,13 @@ class ApiQueryExtracts extends ApiQueryBase {
return $text; return $text;
case 'wiki': case 'wiki':
return preg_replace_callback( $pattern, function ( $matches ) { return preg_replace_callback( $pattern, static function ( $matches ) {
$bars = str_repeat( '=', $matches[1] ); $bars = str_repeat( '=', $matches[1] );
return "\n$bars " . trim( $matches[2] ) . " $bars"; return "\n$bars " . trim( $matches[2] ) . " $bars";
}, $text ); }, $text );
case 'plain': case 'plain':
return preg_replace_callback( $pattern, function ( $matches ) { return preg_replace_callback( $pattern, static function ( $matches ) {
return "\n" . trim( $matches[2] ); return "\n" . trim( $matches[2] );
}, $text ); }, $text );

1257
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -5,7 +5,7 @@
}, },
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.20.0", "eslint-config-wikimedia": "0.20.0",
"grunt": "1.3.0", "grunt": "1.4.0",
"grunt-banana-checker": "0.9.0", "grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0" "grunt-eslint": "23.0.0"
}, },