Commit graph

46 commits

Author SHA1 Message Date
Ed Sanders f1602001fd build: Update eslint-config-wikimedia to 0.22.1
Change-Id: Ia9c0532178719f3ff3feee43736893abd0c5e123
2022-02-28 13:59:20 +00:00
Ed Sanders 7fcb7534a9 build: Update stylelint-config-wikimedia to 0.12.2
Change-Id: I4ce41646b338555c51c3269c699c712790af096a
2022-02-28 13:59:02 +00:00
Volker E c5c27568a5 build: Update 'svgo' to latest v2.8.0
Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines –
mainly around new whitespace features of SVGO.

Change-Id: I63c72634eb2bb7063d71c8c21679f6f2091a4f1f
2022-02-27 02:12:20 -08:00
libraryupgrader 8136e4f0e5 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* grunt: 1.4.0 → 1.4.1

Change-Id: I00ebb19da234d2254115c75fbc7ecf270a9d7785
2022-02-06 09:37:32 +00:00
osamaahmed17 eb854a675f selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Bug: T271281
Change-Id: I0d1ccf8238fd9552aaa6da9f3c5a0b17b0247d27
2022-01-27 03:30:03 +11:00
osamaahmed17 9903581028 selenium: Refactor Echo WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests of Echo have been changed to async.

Bug: T293073
Change-Id: I8327d33c99e495b109d97df7b525181dfc41c18d
2022-01-17 04:32:20 +05:00
Umherirrender d4640b31f0 build: Update eslint-config-wikimedia to 0.21.0
This includes the update of lockFile version

Bug: T225730
Change-Id: I04f2c6ef8751b3ffff886da4b69c2ed80425de91
2021-12-21 23:08:09 +01:00
libraryupgrader f1557a6818 build: Updating validator to 13.7.0
* https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: I1c3ce139322700b7d8f31273a41dc70532a7dd9a
2021-11-04 12:12:02 +00:00
libraryupgrader 905ee2dba8 build: Updating npm dependencies
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/1002401 (CVE-2021-3807)
* nth-check: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1002423 (CVE-2021-3803)

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

Change-Id: Ib47fa1bd719b75c279bd7042f9ce0b9459dfe93b
2021-10-09 07:08:32 +00:00
libraryupgrader 7d4448e4e9 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: Ib5affe3e76c81e3b077c4b787a172ec50f30a499
2021-09-04 19:42:56 +00:00
libraryupgrader 17a644263a build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0
  The following sniffs are failing and were disabled:
  * PSR12.Functions.ReturnTypeDeclaration.SpaceBeforeReturnType

npm:
* svgo: 2.3.0 → 2.3.1
  * https://npmjs.com/advisories/1754 (CVE-2021-33587)
* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: Id866782d39ac02a329bd79539f2d52392fffd296
2021-07-24 01:48:06 +00:00
Volker E 67bf58a489 build: Update SVGO to latest v2.3.0 and re-crush SVGs
SVGO v2.x changed configuration to JS, amending configuration.
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T278656
Change-Id: I5b150cce300e764afb0a40d402479db22cfcea99
2021-05-27 11:47:02 -07:00
Željko Filipin b6a9950642 selenium: Update wdio-mediawiki
wdio-mediawiki v1.1.1:
- Includes wdio-defaults.conf.js file that vastly simplifies wdio.conf.js.
- Replaces @wdio/spec-reporter with @wdio/dot-reporter.
- Introduces video recording.

Bug: T283597
Bug: T276503
Change-Id: Ic80f90dbbd5604dc3c9afe3303862edbf46b1cd2
2021-05-26 13:36:53 +00:00
libraryupgrader 12e3d5a2ef build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I2e7b55677dc047b1b755842f8e2691e20c3eac97
2021-05-25 11:18:52 +00:00
libraryupgrader 1307a28f6f build: Updating hosted-git-info to 2.8.9
Change-Id: I015a90535d78840e3468cd067d2e90ed25f53f4c
2021-05-21 04:29:06 +00:00
libraryupgrader 88e37cb08c build: Updating npm dependencies
* hosted-git-info: 2.8.9 → 2.8.9
  * 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: I98e305419a1f6bbc8a6aac91ee05869e3430f723
2021-05-15 13:53:19 +00:00
libraryupgrader 0260a0bbdb build: Updating npm dependencies
* 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: 2.8.8 → 3.0.8
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* ua-parser-js: 0.7.21 → 0.7.28
  * https://npmjs.com/advisories/1679 (CVE-2021-27292)

Change-Id: Iabdb4f019f43e1babc061ffe0cf391f87239a7cd
2021-05-09 19:43:49 +00:00
Željko Filipin 5d49c02f9f selenium: Add JUnit reporter
JUnit reporter is required to create the XML file that Jenkins uses to
create Test Result Trend chart for selenium-daily-beta-Echo
job.

Bug: T214686
Change-Id: I2dd3787ebfb20f6fee841d264de98bcd1da4b34e
2021-04-29 15:39:36 +02:00
libraryupgrader cefce8b8fa build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: If1eaa61aefc93426217f675fca27873dd9db6dc1
2021-04-16 14:24:33 +00:00
libraryupgrader 806b9c34d8 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I563abc38b4775ff6e8b9bbd7f2060d7c17b06f08
2021-03-30 00:50:56 +00:00
libraryupgrader feb9aabfdb build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I93d36e1a2962cc3dedde09064b7a43c386a0af7f
2021-03-13 11:49:48 +00:00
libraryupgrader 5e5b07d333 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I671235f3fc2898168d5b74cba18b59915a4ffd3a
2021-03-06 14:54:17 +00:00
libraryupgrader b49cebf8cb build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.WrongStyle

* mediawiki/minus-x: 1.1.0 → 1.1.1

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

Additional changes:
* Added the "composer phan" command to conveniently run phan.

Change-Id: Icc5ae88b205d4b122efef7aef2826eb334b27820
2021-01-29 10:19:37 +00:00
libraryupgrader 0e6ca8085b build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: Idefd9a24b89fb50250568b3ebfe801b28634d733
2020-12-13 02:22:38 +00:00
libraryupgrader c44dfdf4cb build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I1eafcbd4ad4481faf9aefcc6b51b5a125a17aa45
2020-11-22 01:43:20 +00:00
libraryupgrader f021dbf077 build: Updating bl to 4.0.3
* https://npmjs.com/advisories/1555

Change-Id: If4bb62b7c40c4df8582cc42b6b07c677467c7775
2020-09-08 20:16:30 +00:00
libraryupgrader 831ca07708 build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
  The following rules are failing and were disabled:
  * no-shadow

* grunt: 1.2.1 → 1.3.0

Change-Id: I4d5110b481ec491b7230cc689eda4f925ca66645
2020-09-05 13:48:38 +00:00
libraryupgrader 866a9e064b build: Updating grunt to 1.2.1
Change-Id: I84f446bb1b5de9262dcca5008ca17eb068bb7202
2020-07-18 05:30:44 +00:00
libraryupgrader d5641dd909 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: I87b42cbabd1eadfeebd8e988ef13d198837ee358
2020-07-15 23:12:00 +00:00
libraryupgrader 524cf15a75 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Ide1f2c2b9b4e731a0afb48d773c888c50e42c04d
2020-07-09 09:30:09 +00:00
vidhi-mody 03bc4d3650 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T250610
Change-Id: Ib014fdcd908fe6521fc73e024b965ead94a39d36
2020-06-25 00:55:49 +05:30
vidhi-mody f25ed7e705 Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.

Replace NPM packages:
- wdio-mocha-framework with @wdio/mocha-framework.
- wdio-spec-reporter with @wdio/spec-reporter.

New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync.

Replace:
- `browser.element` with `$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `waitForVisible()` with `waitForDisplayed()`.

Bug: T250610
Change-Id: If7a5ee9588f082be18f27ee45a051ae956c688f5
2020-06-22 15:54:30 +00:00
Ed Sanders ffe3363d09 build: Update eslint-config-wikimedia to 0.16.1
Change-Id: I2ce14429f9440e69e36fa349847f58fb32862f2a
2020-06-15 16:19:00 +01:00
libraryupgrader df46509e1e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3
  The following rules are failing and were disabled:
  * mediawiki/class-doc

* grunt-stylelint: 0.14.0 → 0.15.0
* stylelint-config-wikimedia: 0.9.0 → 0.10.1

Change-Id: I6e55d7979dbf50f7919c62621957b765a40f4624
2020-04-22 08:44:15 +00:00
libraryupgrader 610dd6adfd build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ic87b561f247f140d1e772d34c4b3b7f9426762b7
2020-04-19 03:52:47 +00:00
libraryupgrader e3df8797ff build: Updating gonzales-pe to 4.3.0
* https://npmjs.com/advisories/1179

Change-Id: I6f0ab6acf71850638c40077fa8b92f225de3501e
2020-03-31 02:39:48 +00:00
libraryupgrader 4b602d791f build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.6.0 → 6.8.0
  * https://npmjs.com/advisories/1179
* svgo: 1.2.2 → 1.3.2
  * https://npmjs.com/advisories/1179

Change-Id: Ie46e0ecad8f7ca193227c57c824e6068e5569f66
2020-03-20 22:32:47 +00:00
libraryupgrader 64b389fdfe build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I5c0763efa647e01971afeb15017d31a991079fbc
2020-03-18 07:17:15 +00:00
libraryupgrader fa58c4d56c build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I068bd41310061388f6dd8ed5d2a5d01ea471e055
2020-03-08 21:26:46 +00:00
libraryupgrader 410d092f79 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I5fd7e6bd1a83ed8b7c09b967bda01e0c2dd88494
2020-02-20 21:10:50 +00:00
Ed Sanders 80ddee3956 build: Update linters
Change-Id: I713aafb891306fc21a776a7d4622c6a039798753
2019-12-12 11:20:49 +00:00
libraryupgrader b476ad7781 build: Updating grunt-stylelint to 0.11.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I5e6a72e457fb656debdb721ed20b4d0efc5d4869
2019-10-21 03:06:43 +00:00
libraryupgrader c5787d1726 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I6758fb164a0ce37ce1eb62d99675bdf90c0e8fa6
2019-08-24 07:31:33 +00:00
libraryupgrader 9bb30f1629 build: Updating npm dependencies
* lodash: 4.17.11 → 4.17.15
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* wdio-mediawiki: 0.3.0 → 0.4.0

Change-Id: I06517f1a052ca42a8b62ccfa9c055c409b96837f
2019-08-02 01:47:20 +00:00
libraryupgrader 4bf8a6736a build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* set-value: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* union-value: 1.0.0 → 1.0.1
  * https://npmjs.com/advisories/1012
  * CVE-2019-10747
* mixin-deep: 1.3.1 → 1.3.2
  * https://npmjs.com/advisories/1013
  * CVE-2019-10746

Change-Id: I6d3efdf65c207b98447565e2df6f0698aaa8ea6b
2019-07-14 10:57:49 +00:00
libraryupgrader 9a030c4bfe build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: I9a58f8acade9bd129474785831e8c8174896982c
2019-06-08 05:43:44 +00:00