mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ReplaceText
synced 2024-11-23 22:33:48 +00:00
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) * hosted-git-info: 3.0.7 → 3.0.8 * https://npmjs.com/advisories/1677 (CVE-2021-23362) * postcss: 7.0.35 → 8.2.15 * https://npmjs.com/advisories/1693 (CVE-2021-23368) Change-Id: Ie63a64b73266230d2805383625fbca576d1be83b
This commit is contained in:
parent
84c803f93f
commit
756212a5c8
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"require-dev": {
|
||||
"mediawiki/mediawiki-codesniffer": "35.0.0",
|
||||
"mediawiki/mediawiki-codesniffer": "36.0.0",
|
||||
"mediawiki/mediawiki-phan-config": "0.10.6",
|
||||
"mediawiki/minus-x": "1.1.1",
|
||||
"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": {
|
||||
"fix": [
|
||||
|
|
|
@ -235,7 +235,7 @@ EOF;
|
|||
$namespaces = array_flip( $canonical );
|
||||
if ( !$nsall ) {
|
||||
$namespaces = array_map(
|
||||
function ( $n ) use ( $canonical, $namespaces ) {
|
||||
static function ( $n ) use ( $canonical, $namespaces ) {
|
||||
if ( is_numeric( $n ) ) {
|
||||
if ( isset( $canonical[ $n ] ) ) {
|
||||
return intval( $n );
|
||||
|
@ -249,7 +249,7 @@ EOF;
|
|||
}, explode( ",", $ns ) );
|
||||
$namespaces = array_filter(
|
||||
$namespaces,
|
||||
function ( $val ) {
|
||||
static function ( $val ) {
|
||||
return $val !== null;
|
||||
} );
|
||||
}
|
||||
|
|
1308
package-lock.json
generated
1308
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -5,7 +5,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.20.0",
|
||||
"grunt": "1.3.0",
|
||||
"grunt": "1.4.0",
|
||||
"grunt-banana-checker": "0.9.0",
|
||||
"grunt-eslint": "23.0.0",
|
||||
"grunt-stylelint": "0.16.0",
|
||||
|
|
|
@ -53,7 +53,7 @@ class Job extends JobParent {
|
|||
function run() {
|
||||
if ( isset( $this->params['session'] ) ) {
|
||||
$callback = RequestContext::importScopedSession( $this->params['session'] );
|
||||
$this->addTeardownCallback( function () use ( &$callback ) {
|
||||
$this->addTeardownCallback( static function () use ( &$callback ) {
|
||||
ScopedCallback::consume( $callback );
|
||||
} );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue