build: Updating dependencies

composer:
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.19.0
  The following rules are failing and were disabled:
  * compat/compat

Additional changes:
* Added the "composer phan" command to conveniently run phan.
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: Ib31cbcd8c615d2e6abf9ee30f0f4d7b7baa54e2e
This commit is contained in:
libraryupgrader
2021-04-07 01:11:50 +00:00
committed by jenkins-bot
parent 76a8b29e74
commit e2ab4bb1c3
8 changed files with 6609 additions and 6090 deletions

View File

@@ -1,13 +1,14 @@
{
"root": true,
"extends": [
"wikimedia/client",
"wikimedia/client-es5",
"wikimedia/jquery",
"wikimedia/mediawiki"
],
"rules": {
"no-jquery/no-global-selector": "off",
"mediawiki/class-doc": "warn",
"no-shadow": "warn"
"no-shadow": "warn",
"compat/compat": "warn"
}
}

View File

@@ -27,7 +27,7 @@
"require-dev": {
"mediawiki/mediawiki-codesniffer": "35.0.0",
"mediawiki/mediawiki-phan-config": "0.10.6",
"mediawiki/minus-x": "1.1.0",
"mediawiki/minus-x": "1.1.1",
"php-parallel-lint/php-console-highlighter": "0.5.0",
"php-parallel-lint/php-parallel-lint": "1.2.0"
},
@@ -40,6 +40,7 @@
"parallel-lint . --exclude vendor --exclude node_modules",
"phpcs -p -s",
"minus-x check ."
]
],
"phan": "phan -d . --long-progress-bar"
}
}

1169
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -4,7 +4,7 @@
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.17.0",
"eslint-config-wikimedia": "0.19.0",
"grunt": "1.3.0",
"grunt-banana-checker": "0.9.0",
"grunt-eslint": "23.0.0",

View File

@@ -131,7 +131,7 @@
* @constructor
* @param {HTMLElement} listElement Interlanguage list element
* @param {Object} [options]
* @param {Number} [options.max] maximum number of languages to show
* @param {number} [options.max] maximum number of languages to show
* in the compacted list. This defaults to DEFAULT_LIST_SIZE.
*/
function CompactInterlanguageList( listElement, options ) {

View File

@@ -56,6 +56,7 @@
* For Vector: Check whether the classic Vector or "new" vector ([[mw:Desktop_improvements]]) is enabled based
* on the contents of the page.
* For other skins, check if ULSDisplayInputAndDisplaySettingsInInterlanguage contains the current skin.
*
* @return {bool}
*/
function isUsingStandaloneLanguageButton() {
@@ -229,6 +230,7 @@
/**
* Adds display and input settings to the ULS dialog after loading their code.
*
* @param {ULS} uls instance
*/
function loadDisplayAndInputSettings( uls ) {