Commit graph

57 commits

Author SHA1 Message Date
WMDE-Fisch f97aad41f7 [build] Bump wdio-mediawiki to v2.3.0
Change-Id: Ifcc22478c54fe17e1c8478e7cf2fb02d3f643325
2023-09-22 16:01:56 +00:00
WMDE-Fisch 9d2856536b build: Updating npm dependencies
Change-Id: I78639f81504fbe2bf1c82a41f1a3862d2f726e38
2023-05-30 19:12:10 +02:00
libraryupgrader 421287cd58 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I1ee4a9eb03e7e8dc22e1f69a87029a50d63e8d83
2023-05-05 02:11:54 +00:00
libraryupgrader 8ebcd80b46 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.0 → 0.12.1

npm:
* grunt-eslint: 24.0.0 → 24.0.1

Change-Id: Ib701545627fe7b0ba9c6219f67693ae586d72e77
2023-04-29 00:59:28 +00:00
Peter Wangai 27ab8a437d selenium: Refactor WebdriverIO tests from sync to async mode
WebdriverIO has dropped support of sync mode, hence changed to async.

Update npm packages: @wdio/*, wdio-mediawiki
because async mode needs at least @wdio v7.9.

Remove npm packages: @wdio/dot-reporter and @wdio/sync.

Bug: T300196
Change-Id: I8a2ba7f87496b19cc22c347088d52e56741cac71
2023-03-20 19:13:40 +03:00
libraryupgrader 09e81680e6 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1

Change-Id: I8af7b599bb58e0097cce61394c782db4c641910c
2023-03-16 01:50:57 +00:00
Subramanya Sastry 8d93818fc8 Use double-colon for pseudo-elements
* Linting rule has been fixed to accept these now.

Change-Id: I51d866ec18c9e1d675f43b3c60f3ad874bba041e
2023-03-14 16:49:10 -04:00
libraryupgrader b30d10bc60 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 41.0.0

npm:
* http-cache-semantics: 4.1.0 → 4.1.1
  * https://github.com/advisories/GHSA-rc47-6667-2j5j
* qs: 6.5.2 → 6.5.3
  * https://github.com/advisories/GHSA-hrpp-h998-j3pp
* ua-parser-js: 0.7.31 → 0.7.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I1b2d97aa0541af1990fd5d9157dde40156413610
2023-03-11 23:06:17 +00:00
Peter Wangai ec5f77e840 selenium: Remove webdriverio npm package from the Cite extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: I16501b07145641d15671e43561e258df2d5a3457
2023-01-11 15:15:29 +03:00
libraryupgrader 9db10f4d83 build: Updating grunt-stylelint to 0.18.0
Change-Id: Id0d84e5ce4d647555acd44b29eded948fddf5ce1
2022-11-13 02:20:15 +00:00
libraryupgrader b58420273d build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: Ia6021e0a4bc4087a6180f4e976da03ddb5388f0b
2022-10-27 02:58:09 +00:00
libraryupgrader 45de6a904f build: Updating npm dependencies
* mocha: 9.2.0 → 9.2.2
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3
* recursive-readdir: 2.2.2 → 2.2.3
  * https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I3bbd52da8e8d333a1a45631042ea4140f1f9c307
2022-10-26 01:28:29 +00:00
libraryupgrader b36efa2fc8 build: Updating grunt-banana-checker to 0.10.0
Change-Id: I2c5609766bbe83bf80b154f7851d97662e2e2a9d
2022-10-06 21:00:10 +00:00
libraryupgrader ee77ac7e7f build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: I210a8074d13aca4d43907c158c2e889d6e7d03e7
2022-06-22 05:38:20 +00:00
libraryupgrader 3ab0da7b75 build: Updating grunt to 1.5.3
Change-Id: I3cee4a7b763dd7e5979af66bcd6b01680b5894c0
2022-05-26 08:44:00 +00:00
libraryupgrader a1a25ba16f build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* 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:
* grunt: 1.4.1 → 1.5.2
* stylelint-config-wikimedia: 0.12.2 → 0.13.0
* wdio-mediawiki: 1.1.1 → 1.2.0
* async: 3.2.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* ejs: 3.1.6 → 3.1.8
  * https://github.com/advisories/GHSA-phwq-j96m-2c2q
* jake: 10.8.2 → 10.8.5
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h

Change-Id: I7f0ba2e2f56f49f24b265b679d34df5e810f9b2e
2022-05-21 01:03:13 +00:00
Ed Sanders a68b8f01b7 build: Update linters
Change-Id: Ifbb1346f854e15efa3389fddc1b338b6444f613f
2022-03-03 23:52:33 +00:00
libraryupgrader 9e2e49555c build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1

npm:
* 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
* mocha: 9.1.3 → 9.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.2.0
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.6 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g

Additional changes:
* Set `name` in package.json.
* eslint: Added `wikimedia/mediawiki` profile (T262222).

Change-Id: I4eaa22a563fc9c8b1d6536608b0d1937950f136e
2022-02-06 07:44:34 +00:00
Ed Sanders cb60e7aa04 build: Update eslint-config-wikimedia to 0.21.0
Change-Id: I86a44d7c73a107fb318abeda9e503e99083f48db
2021-11-09 14:25:34 +00:00
libraryupgrader 33e2ff79b5 build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* ansi-regex: 5.0.0 → 5.0.1
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)

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

Change-Id: I9aa26cf3664857fac671dc15718e5341798625d2
2021-10-04 13:21:21 +00:00
libraryupgrader 13677c06a6 build: Updating stylelint-config-wikimedia to 0.11.1
Change-Id: I0e1764c11a81c67c40428004bfd0e5ce873e8f69
2021-09-04 18:50:51 +00:00
anjali041 77a082a96e selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Bug: T274579
Change-Id: I5fc8d2a7f3514e6c70668b0546b057f7de8c551a
2021-06-15 14:02:39 +02:00
sahil d7ad615e67 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
Change-Id: Ic62db3ca745a94573b2b0500f49a45bb2a0dcd4f
2021-06-09 15:03:58 +02:00
Volker E 048a887955 build: Remove 'grunt-svgmin' package
There are no SVGs left in Cite, hence removing package.

Change-Id: I608c1b7a4e9d989fc9d58ac29c57d6d9d18cae96
2021-05-17 17:51:41 -07:00
libraryupgrader 13e5846770 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: I255cbd76aa9562a23fa2e39dd8e8d8cbd17b8889
2021-05-15 12:22:23 +00:00
libraryupgrader 76c5a28200 build: Updating npm dependencies
* grunt: 1.3.0 → 1.4.0
* hosted-git-info: 2.8.8 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: I4056ded4526eb670ca29bc270d8f0d41b3296f75
2021-05-09 04:08:47 +00:00
libraryupgrader 2e4d2281f4 build: Updating npm dependencies
* 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: Ib47623bd9a4d3b6b0baf82eeb9cbd7feceac2f11
2021-05-07 16:16:01 +00:00
libraryupgrader 45fb9da777 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I12ebc779b412ab4277695af932daa53435190005
2021-04-16 05:25:52 +00:00
libraryupgrader 5ec6d645bd build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I5c0a46c7fb56ce5e81b98e26604737c657b2211f
2021-03-29 23:21:50 +00:00
libraryupgrader 6f2420d0bd build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I676c244a56efc85f6f152e55828e95904e7d44d4
2021-03-13 06:42:20 +00:00
libraryupgrader d91060fbea build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I7812606451f4309d422892dab633b55b5394cbf1
2021-03-06 08:43:54 +00:00
libraryupgrader be7f1b3bd7 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
* mediawiki/minus-x: 1.1.0 → 1.1.1

npm:
* eslint-config-wikimedia: 0.17.0 → 0.18.1

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

Change-Id: I2e27a8ae5547829501c25402da5b72b390897ca1
2021-01-29 06:21:06 +00:00
libraryupgrader 8bda698bb3 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: I5ecf217b5dcf8e82dad88ab2d318d49f3e82a65b
2020-12-12 22:07:53 +00:00
libraryupgrader 0c615fc36f build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I0d9879effbe670cd83dca5fac9722dafaeff7b48
2020-11-21 21:53:19 +00:00
libraryupgrader 085aaf49e7 build: Updating bl to 4.0.3
* https://npmjs.com/advisories/1555

Change-Id: Ia65cdd7239933482838f96865daed12113399e3c
2020-09-08 19:02:47 +00:00
libraryupgrader 36659b995f 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: I2ee910e2940c3db520531b91329955d01f2a9076
2020-09-05 10:14:03 +00:00
libraryupgrader d52f8cf5c2 build: Updating grunt to 1.2.1
Change-Id: I64ccb005689bd13caa12aadeca85cc3454bea318
2020-07-18 02:08:25 +00:00
libraryupgrader 063cc59e83 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Ic73890c4398c3f08946b4c9677d7e24c634ae7ba
2020-07-15 21:59:30 +00:00
libraryupgrader e0bf47fc21 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Icbf623aff71c82186be967f9b68587ddcb2fcd99
2020-07-09 03:47:47 +00:00
vidhi-mody 7d0c85afe6 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T253343
Change-Id: I98d452af0af248cf7221e355550ed8b7b8975aa4
2020-06-25 15:12:19 +05:30
vidhi-mody 76c38c766d 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 `$`.
- `browser.elements` with `$$`.
- `chromeOptions` with `'goog:chromeOptions'`.
- `password` with `mwPwd`.
- `username` with `mwUser`.
- `waitForVisible()` with `waitForDisplayed()`.
- `isVisible()` with `isDisplayed()`.

Bug: T253343
Change-Id: Ia656c8bc9fa76ae80bc356dc18c821a93b8cd875
2020-06-25 01:19:38 +05:30
Ed Sanders 85a4e23008 build: Update devDependencies
Change-Id: I38b506d6e058f639e0e7d95c3e60616dbef5af10
2020-06-09 11:29:03 +01:00
libraryupgrader f819e6374c 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: I5e285118302582daa288d0afc30860ab0693d332
2020-04-22 06:25:11 +00:00
libraryupgrader ab2a68d8ec build: Updating grunt-banana-checker to 0.9.0
Change-Id: I4fac62c79bb08c5d09f16a1ad5fe003e2d357f21
2020-04-19 01:54:20 +00:00
libraryupgrader 6d9d6c3398 build: Updating gonzales-pe to 4.3.0
* https://npmjs.com/advisories/1179

Change-Id: I369aad2115d7f577b4cbabea2b9b2be4bd3e35fb
2020-03-31 00:54:54 +00:00
libraryupgrader 942eaa9440 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.5.1 → 6.8.0
  * https://npmjs.com/advisories/1179
* svgo: 1.2.2 → 1.3.2
  * https://npmjs.com/advisories/1179

Change-Id: Idcd43a7658825b99759a5351c6a3545444e5dfda
2020-03-20 20:30:52 +00:00
libraryupgrader 3df0f16358 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Ide732616d562684edab9a71c1998976297b54629
2020-03-18 04:41:02 +00:00
libraryupgrader 5f51fec081 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Iacb4464bc9c81a45b45ad22fa98bbb05dbd31c6b
2020-03-07 23:06:54 +00:00
libraryupgrader ece1d6a9a6 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I2eb91238d8468051d3f62424f3025e6e6324d030
2020-02-20 19:43:20 +00:00
libraryupgrader 88ecc77735 build: Updating npm dependencies
* grunt-stylelint: 0.12.0 → 0.13.0
* stylelint-config-wikimedia: 0.7.0 → 0.8.0

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Iabe4cd32a742fbf64bfc24adb326f88c0f13dc3a
2020-01-09 04:19:24 +00:00