Commit graph

78 commits

Author SHA1 Message Date
libraryupgrader 855cef7304 build: Updating micromatch to 4.0.8
* https://github.com/advisories/GHSA-952p-6rrq-rcjv

Change-Id: Iade8adc0bdd11f086b59dccfa3cb3f04b0157369
2024-08-25 00:45:50 +00:00
libraryupgrader 7e7f5ccf3f build: Updating mediawiki/mediawiki-codesniffer to 44.0.0
Change-Id: I2866ec0a464aa3f064fe7f56c096f173d6eaafdf
2024-08-11 07:37:09 +00:00
Ed Sanders b75056fe82 build: Update jsdoc-wmf-theme to 1.1.0
Bug: T368081
Change-Id: Iac00e54ddb5e31ed34da513abf70196437d151c9
2024-06-26 11:31:52 +01:00
Ed Sanders c191982a81 build: Update stylelint-config-wikimedia to 0.17.2
Change-Id: Ide5b1395ea50e3d9fb15ca4690bce1cb9be90715
2024-06-13 16:12:07 +00:00
Ed Sanders 47ea647e45 build: Update eslint-config-wikimedia to 0.28.2 and autofix
Change-Id: I1e603647c161bf940690f85f676edd7ebde7917d
2024-06-13 16:11:59 +00:00
libraryupgrader 0d8e740635 build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.0
  The following rules are failing and were disabled:
  * modules:
    * no-jquery/no-extend

* grunt-stylelint: 0.19.0 → 0.20.0
* stylelint-config-wikimedia: 0.16.1 → 0.17.1

Change-Id: I45a64d80ef5aa50b4a1abd871605f52682ab9b5b
2024-06-06 16:47:09 +00:00
libraryupgrader 158a6dfde1 build: Updating grunt-banana-checker to 0.13.0
Change-Id: I43e13791ee164bb3c2b31fae2f7a4e8655fef61e
2024-05-18 06:35:39 +00:00
libraryupgrader d9d40d2a9c build: Updating grunt-banana-checker to 0.12.0
Change-Id: I51198ba993ef6b8d40b2d1a0d2496cbf1753a20f
2024-05-13 21:20:55 +00:00
libraryupgrader c2689ea934 build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.1 → 1.1.3

npm:
* jsdoc-wmf-theme: 1.0.0 → 1.0.1

Change-Id: I14087a944da7e03180965c37e384b8734b044da1
2024-05-08 07:56:09 +00:00
libraryupgrader ced65ef4e9 build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

npm:
* ejs: 3.1.8 → 3.1.10
  * https://github.com/advisories/GHSA-ghr5-ch3p-vcr6

Change-Id: I510d6fbda21f1470e794a4fc4ac437bb425ee7c5
2024-05-02 04:15:59 +00:00
Ed Sanders df8fbfed38 Replace jsduck with jsdoc
Change-Id: I2a1bfedeba66c9ec1b3ee2640a77d5ef8782530c
2024-04-30 15:29:06 +01:00
libraryupgrader 049709a167 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I682039a6f58a820ab46ab5d596922264f36509c9
2024-04-17 04:55:13 +00:00
libraryupgrader 5e30e6cda9 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* postcss: 8.4.28 → 8.4.35
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 5.7.1, 7.5.4 → 5.7.2, 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Change-Id: I7cb9f94d14abb512228f2a70cd1e978f849c03b5
2024-02-14 07:34:28 -05:00
Volker E 23697880e3 build: Unify on minify:svg command
Also pinning 'svgo' to 3.2.0 in 'package-lock.json' following up to
Ia2e8e947c7d10fa754885c8d917dc0616708fbaf.

Bug: T354875
Change-Id: I583db915f471295160c8637fd950bfda2f03e529
2024-01-16 13:35:19 +00:00
Volker E 5255d40496 build: Update 'svgo' to latest v3.2.0
This update of 'svgo' dependency includes three optimizations on
converting path commands, which
- improves closing paths and how we determine if to use absolute or
  relative commands.
- round arc or convert to lines based on the geometric sagitta
- convert cubic Bézier curves to quadratic Bézier curves where possible

Bug: T354875
Change-Id: Ia2e8e947c7d10fa754885c8d917dc0616708fbaf
2024-01-11 19:07:46 +01:00
Ed Sanders 2f61c46cf0 build: Update linters
Change-Id: I234e460ce1d1887af17c90cb9536aea76e295ca8
2023-12-04 14:11:35 +00:00
WMDE-Fisch f72691fc4b [build] Bump wdio-mediawiki to v2.3.0
Change-Id: I9a1a03156bb3c8db4ee2213b6b5f42913f8e4e0d
2023-09-22 16:02:52 +00:00
Volker E 2e8e31d3c6 build: Update SVGO to v3.0.2 & re-crush icons
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.
Re-crushing SVGs while at it.

Bug: T339162
Change-Id: I37021bc12b29143a8a05ebbb183547df29aa1f6a
2023-06-14 19:12:11 +00:00
libraryupgrader 5e5a2e4b12 build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Ia4d16bf5b2bd0620bbc7bcf9f45c50e0487161ad
2023-05-04 02:06:25 +00:00
libraryupgrader 8d397eb14a 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: I310d2a4ca1fdcb9f5492cb0c4cf67bfb24698f28
2023-04-29 02:45:29 +00:00
Volker E d9302a50b7 build: Update 'browserslist-db' to latest
Latest version:     1.0.30001474
Installed version:  1.0.30001312

Change-Id: Ic818d45b8ab6a70efcbc333091dffbbf12f1615c
2023-04-04 01:33:50 -07:00
libraryupgrader c280ff0947 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.0 → 0.14.0
  The following rules are failing and were disabled:
  * selector-pseudo-element-colon-notation

Change-Id: I4f3516417425a3cac273bb6c85b3195405ef5b3d
2023-03-23 22:26:26 +00:00
libraryupgrader c59fb68583 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
* ua-parser-js: 1.0.2 → 1.0.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I1844dc37fc9aed2a3c921b6ae7bf1a0c3e952a18
2023-03-12 01:08:02 +00:00
Peter Wangai 307466b9c3 selenium: Remove webdriverio npm package from the Echo extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: I8d41c527c56e9782cd9aa076daf0146e192730ef
2023-01-11 21:08:59 +03:00
libraryupgrader 155c64bf04 build: Updating npm dependencies
* mocha: 9.2.1 → 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: I8d401a8fa90a0698223e527b9c42ffd6658ae3ba
2022-10-26 01:45:34 +00:00
libraryupgrader ea4c3f22b0 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Ifec81b0ee28a8cba1c21ca1f1f02daae01f2eecc
2022-10-06 22:05:11 +00:00
libraryupgrader 1723f70d45 build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: I49d7fa002a5f230fa55593538aaf2c959bdf8861
2022-06-22 06:01:55 +00:00
libraryupgrader 867ff0b67c build: Updating grunt to 1.5.3
Change-Id: I7935ef106f04fe2303b3b89fe84a03ea34ff6561
2022-05-26 10:21:32 +00:00
Željko Filipin 6ee782b218 selenium: Use @wdio/spec-reporter
Dot reporter provides no information on which tests suites and tests are
executed. Spec reporter is more verbose but it also provides much more
information that is useful in general, but especially when debugging.
For example, which tests are executed and which tests are skipped.

Bug: T280331
Change-Id: Ib1746654a4844f26e060b4e687337de2d8c4928a
2022-05-23 13:17:20 +02:00
libraryupgrader a9583da558 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed

* 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:
* async: 2.6.3 → 2.6.4
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

Change-Id: Ic8e0ff8ae5be3f40a596b1bc9150b8029bab1624
2022-05-21 03:08:16 +00:00
libraryupgrader eccb023a94 build: Updating npm dependencies
* async: 2.6.3 → 2.6.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: I43c52af4c1a448d4786d3b6364c28d42f56c2afc
2022-05-20 05:45:48 +00:00
Ed Sanders 2af0c6d816 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I60f34cb3c3c5c12cf1f9f38426a56c76dcf063fd
2022-05-09 14:05:59 +01:00
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