build: Updating dependencies

composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingReturn
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic
  * MediaWiki.PHPUnit.AssertionOrder.WrongOrder
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon

npm:
* jsdoc: 3.6.7 → 3.6.10
* node-fetch: 2.6.1 → 2.6.7
* ajv: 6.12.0 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-html: 0.0.7 → None
  * https://github.com/advisories/GHSA-whgm-jr23-g3j9
* ansi-regex: 2.1.1 → 2.1.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* axios: 0.21.1 → 0.21.3
  * https://github.com/advisories/GHSA-cph5-m8f7-6c5x
* follow-redirects: 1.13.1 → 1.14.9
  * https://github.com/advisories/GHSA-pw2r-vq6v-hr8c
  * https://github.com/advisories/GHSA-74fj-2j2h-c42q
* github-build: 1.2.2 → 1.2.3
  * https://github.com/advisories/GHSA-cph5-m8f7-6c5x
* ini: 1.3.8 → 1.3.8
  * https://github.com/advisories/GHSA-qqgx-2p2h-9c37
* json-schema: 0.2.3 → 0.4.0
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* jsprim: 1.4.1 → 1.4.2
  * https://github.com/advisories/GHSA-896r-f27r-55mw
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
* mkdirp: 0.5.5 → 0.5.5
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
  * https://github.com/advisories/GHSA-vh95-rmgr-6w4m
* nanoid: 3.1.23 → 3.3.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* path-parse: 1.0.6 → 1.0.7
  * https://github.com/advisories/GHSA-hj48-42vr-x3v9
* postcss: 7.0.27 → 7.0.39
  * https://github.com/advisories/GHSA-566m-qj78-rww5
  * https://github.com/advisories/GHSA-hwj9-h5mp-3pm3
* shelljs: 0.8.3 → 0.8.5
  * https://github.com/advisories/GHSA-4rq4-32rv-6wp6
* simple-get: 3.1.0 → 3.1.1
  * https://github.com/advisories/GHSA-wpg7-2c88-r8xv
* tar: None → None
  * https://github.com/advisories/GHSA-qq89-hq3f-393p
  * https://github.com/advisories/GHSA-9r2w-394v-53qc
  * https://github.com/advisories/GHSA-3jfq-g458-7qm9
  * https://github.com/advisories/GHSA-r628-mhmh-qjhw
* trim-newlines: 3.0.0 → 3.0.1
  * https://github.com/advisories/GHSA-7p7h-4mm5-852v
* url-parse: 1.5.1 → 1.5.10
  * https://github.com/advisories/GHSA-jf5r-8hm2-f872
  * https://github.com/advisories/GHSA-hgjh-723h-mx2j
  * https://github.com/advisories/GHSA-8v38-pw62-9cw2
  * https://github.com/advisories/GHSA-rqff-837h-mm52
  * https://github.com/advisories/GHSA-hh27-ffr2-f2jc
* webpack-hot-middleware: 2.25.0 → 2.25.1
  * https://github.com/advisories/GHSA-whgm-jr23-g3j9

Additional changes:
* Set `name` in package.json.
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: I0073467ec15d1fff9fcb8bc207a91ebafd281116
This commit is contained in:
libraryupgrader 2022-04-15 20:16:49 +00:00
parent 4b38ef2ced
commit b8b2ce2328
4 changed files with 18203 additions and 583 deletions

View File

@ -1,6 +1,12 @@
<?xml version="1.0"?>
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki" />
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
<exclude name="MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPublic" />
<exclude name="MediaWiki.PHPUnit.AssertionOrder.WrongOrder" />
<exclude name="MediaWiki.Usage.StaticClosure.StaticClosure" />
<exclude name="PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeColon" />
</rule>
<file>.</file>
<arg name="extensions" value="php"/>
<arg name="encoding" value="UTF-8"/>

View File

@ -33,7 +33,7 @@
"installer-name": "Vector"
},
"require-dev": {
"mediawiki/mediawiki-codesniffer": "31.0.0",
"mediawiki/mediawiki-codesniffer": "38.0.0",
"mediawiki/mediawiki-phan-config": "0.10.2",
"mediawiki/minus-x": "1.1.0",
"php-parallel-lint/php-console-highlighter": "0.5.0",
@ -46,9 +46,10 @@
],
"test": [
"parallel-lint . --exclude node_modules --exclude vendor",
"phpcs -p -s",
"@phpcs",
"minus-x check ."
],
"phan": "phan -d . --long-progress-bar"
"phan": "phan -d . --long-progress-bar",
"phpcs": "phpcs -sp --cache"
}
}

18766
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,5 @@
{
"name": "Vector",
"private": true,
"scripts": {
"start": "dev-scripts/setup-storybook.sh && start-storybook --quiet -p 6006 -s docs/ui",
@ -26,12 +27,12 @@
"bundlesize": "0.18.1",
"eslint-config-wikimedia": "0.16.2",
"grunt-banana-checker": "0.9.0",
"jsdoc": "3.6.7",
"jsdoc": "3.6.10",
"jsdoc-wmf-theme": "0.0.3",
"less": "3.8.1",
"less-loader": "4.1.0",
"mustache": "3.0.1",
"node-fetch": "2.6.1",
"node-fetch": "2.6.7",
"pre-commit": "1.2.2",
"stylelint-config-wikimedia": "0.10.3",
"svgo": "1.3.2",