mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Poem
synced 2024-11-14 10:34:41 +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) Change-Id: I569d4158b649dbf7cd98e0c78e9026809149a74a
This commit is contained in:
parent
9d4e2b7e18
commit
fb2de3fee8
|
@ -3,11 +3,11 @@
|
|||
"php": ">=5.5.9"
|
||||
},
|
||||
"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": [
|
||||
|
|
|
@ -34,7 +34,7 @@ class Poem {
|
|||
// replace colons with indented spans
|
||||
$text = preg_replace_callback(
|
||||
'/^(:++)(.+)$/m',
|
||||
function ( array $matches ) {
|
||||
static function ( array $matches ) {
|
||||
$indentation = strlen( $matches[1] ) . 'em';
|
||||
return Html::rawElement(
|
||||
'span',
|
||||
|
@ -61,7 +61,7 @@ class Poem {
|
|||
// replace spaces at the beginning of a line with non-breaking spaces
|
||||
$text = preg_replace_callback(
|
||||
'/^ +/m',
|
||||
function ( array $matches ) {
|
||||
static function ( array $matches ) {
|
||||
return str_repeat( ' ', strlen( $matches[0] ) );
|
||||
},
|
||||
$text
|
||||
|
|
1257
package-lock.json
generated
1257
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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue