build: Updating dependencies

composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* php-parallel-lint/php-console-highlighter: 0.5.0 → 1.0.0
* php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2

npm:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Additional changes:
* Set `name` in package.json.

Change-Id: Ibf55736c404151cae62dd890cb49f57e0281d773
This commit is contained in:
libraryupgrader 2022-05-21 08:29:49 +00:00 committed by DannyS712
parent 3defc21733
commit 3c2a967d65
4 changed files with 4165 additions and 624 deletions

View file

@ -4,11 +4,11 @@
"wikimedia/css-sanitizer": "~3.0.0"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "38.0.0",
"mediawiki/mediawiki-phan-config": "0.11.0",
"mediawiki/mediawiki-codesniffer": "39.0.0",
"mediawiki/mediawiki-phan-config": "0.11.1",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.3.1"
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.3.2"
},
"scripts": {
"fix": [

View file

@ -204,7 +204,6 @@ class Hooks {
/**
* Add `<templatestyles>` to the parser.
* @param Parser $parser Parser object being cleared
* @suppress PhanUndeclaredProperty
*/
public static function onParserFirstCallInit( Parser $parser ) {
$parser->setHook( 'templatestyles', [ __CLASS__, 'handleTag' ] );
@ -255,7 +254,6 @@ class Hooks {
/**
* Clear our cache when the parser is reset
* @param Parser $parser
* @suppress PhanUndeclaredProperty
*/
public static function onParserClearState( Parser $parser ) {
$parser->extTemplateStylesCache->clear();
@ -268,7 +266,7 @@ class Hooks {
* @param Parser $parser
* @param PPFrame $frame
* @return string HTML
* @suppress SecurityCheck-XSS,PhanUndeclaredProperty
* @suppress SecurityCheck-XSS
*/
public static function handleTag( $text, $params, $parser, $frame ) {
$config = self::getConfig();

4770
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,12 +1,13 @@
{
"name": "TemplateStyles",
"private": true,
"scripts": {
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.20.0",
"grunt": "1.4.0",
"eslint-config-wikimedia": "0.22.1",
"grunt": "1.5.2",
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0"
"grunt-eslint": "24.0.0"
}
}