Commit graph

70 commits

Author SHA1 Message Date
WMDE-Fisch 37dc0b5adb [QUnit] Avoid manipulating the global history
Also introducing sinon to mock some parts.

Bug: T370573
Change-Id: I5a7573bcac9501a7b37a12b86bb0d4f46055f70e
2024-07-23 22:19:58 +02:00
libraryupgrader 18c3b0a87a build: Updating npm dependencies
* eslint-config-wikimedia: 0.28.0 → 0.28.2
* grunt-stylelint: 0.20.0 → 0.20.1
* stylelint-config-wikimedia: 0.17.1 → 0.17.2

Change-Id: I798f739b5b2f12e5c6eedc88ecac557de28be129
2024-06-21 20:28:54 +00:00
libraryupgrader f5de8ee108 build: Updating npm dependencies
* eslint-config-wikimedia: 0.27.0 → 0.28.0
  The following rules are failing and were disabled:
  * modules:
    * no-mixed-spaces-and-tabs
    * no-jquery/no-extend
    * implicit-arrow-linebreak
  * tests/qunit:
    * no-jquery/no-extend

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

Change-Id: I3fd3c4a2cbb03d3aa4c8efb658e33d14d24cd518
2024-06-08 12:04:26 +00:00
libraryupgrader f11cfc95ff build: Updating grunt-banana-checker to 0.13.0
Change-Id: I1bd723ec50ae4a1e98b908f0972d52d59352d3c8
2024-05-19 00:31:07 +00:00
libraryupgrader 663a20a03d build: Updating dependencies
composer:
* mediawiki/minus-x: 1.1.1 → 1.1.3

npm:
* grunt-banana-checker: 0.11.1 → 0.12.0

Change-Id: I78c57df954b4fbdde6559598d15f00af13e9681c
2024-05-10 22:05:50 +00:00
libraryupgrader af340e9ae9 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: I18926d22ec1ae7cf3df57e40f4ff950ca6e196f2
2024-05-02 13:54:56 +00:00
libraryupgrader b8f57c9d1d build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I96a066dc8a4253a6be6485281a86e9a664d73fe3
2024-04-18 03:47:12 +00:00
libraryupgrader 8ca7a124a6 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* grunt-banana-checker: 0.11.0 → 0.11.1
* debug: 2.6.9, 4.1.1, 4.3.1, 4.3.4 → 2.6.9, 4.3.1, 4.3.4
  * https://github.com/advisories/GHSA-gxpj-cx7g-858c
* semver: 5.7.1, 7.5.0, 7.5.4 → 5.7.2, 7.5.4, 7.6.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Change-Id: Id7a3c5822da56407f2f0963cf91bf9440fbde7f7
2024-02-13 03:17:04 +00:00
Volker E df7d5b95ac build: Update 'svgo' to latest v3.2.0 and re-minify SVGs
The latest 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
Also unifiying npm command to qua standard notation `minify:svg`.

Bug: T354875
Change-Id: I38ccbfa62ee7afcfb10eee7853b33648863f54ad
2024-01-16 00:17:03 +01:00
WMDE-Fisch 6482107b14 build: Update linter libs
* "eslint-config-wikimedia": "0.26.0"
* "grunt-eslint": "24.3.0"
* "grunt-stylelint": "0.19.0"
* "stylelint-config-wikimedia": "0.16.1"

Including auto fixes.

Change-Id: I24374dad734fca734f9c5e25cfa5b5380ad24c46
2023-11-24 10:14:15 +01:00
WMDE-Fisch fb3cf33e44 [build] Bump wdio-selenium to v2.3.0
Change-Id: Ib4056298f484b5def68699c0a9146324188df609
2023-09-22 14:22:26 +02:00
Volker E 7f6f5d7824 build: Update SVGO to v3.0.2
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.

Bug: T339162
Change-Id: I1eedb094b0afce2167c1de7296c81c30813838e0
2023-06-14 12:38:31 -07:00
libraryupgrader aacd7dba34 build: Updating npm dependencies
* grunt-banana-checker: 0.10.0 → 0.11.0
* stylelint-config-wikimedia: 0.14.0 → 0.15.0

Change-Id: I4ddab3580ba726a373f36cc96cd2ced448e96f39
2023-06-02 01:47:11 +00:00
libraryupgrader 50fe9c445b build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Ib27405f6bab96e7edefae53e8e48dc6bd470443d
2023-05-05 10:49:05 +00:00
libraryupgrader 9dd40a599c 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: Ib973eda921fe671098e9ed4e98094d8b5da7091b
2023-04-29 09:51:30 +00:00
libraryupgrader 88f6eccd11 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: Ic78a5aa7fca2d917054eb26b5c8d46c008870484
2023-03-22 21:18:23 +00:00
libraryupgrader 1cc4c488d7 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.28 → 0.7.34
  * https://github.com/advisories/GHSA-fhg7-m89q-25r3

Change-Id: I80707cef042fe2b57e18d3cbe3c94ee5ef75b62b
2023-03-12 09:18:16 +00:00
Vaughn Walters 8461d956d4 selenium: Remove webdriverio npm package from the Revision Slider extension
The `webdriverio` package does not need to be an explicit dependency.
It is a dependency of `@wdio/cli`.

Bug: T325059
Change-Id: Id772e7e1438fb7ac7ff3c5e90dcff5a94783d13d
2023-01-13 11:09:50 -06:00
libraryupgrader 84b939292c build: Updating grunt-stylelint to 0.18.0
Change-Id: If26dfcedc2607127aa9456b296b0c775f9f5c438
2022-11-13 08:43:53 +00:00
libraryupgrader d9fcfc496a build: Updating npm dependencies
* minimatch: 3.0.4 → 3.0.8
  * 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: Id929c5993a1ffdd614066075c5cf81dfa7a745a9
2022-10-26 04:21:40 +00:00
libraryupgrader 7a3144e084 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Ied496cc652a874860e734fe9885e76cfdb1cf3d3
2022-10-07 05:01:14 +00:00
libraryupgrader 078c2ae8d3 build: Updating got to 11.8.5
* https://github.com/advisories/GHSA-pfrx-2q88-qq97

Change-Id: Id281744d1305cf2bf92a0de6a178091dd2fa993f
2022-06-22 08:49:04 +00:00
libraryupgrader efa624bbc6 build: Updating grunt to 1.5.3
Change-Id: Ibcb4a1e3c0cc2c9e34666fecfd61703ee1394330
2022-05-27 00:23:42 +00:00
libraryupgrader 74ea0a4ce2 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0
* mediawiki/mediawiki-phan-config: 0.11.0 → 0.11.1
* 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: 0.9.2 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * 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
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* 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
* mocha: 9.1.2 → 9.2.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nanoid: 3.1.25 → 3.3.1
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* node-fetch: 2.6.1 → 2.6.7
  * https://github.com/advisories/GHSA-r683-j2x4-v87g

Additional changes:
* Set `name` in package.json.

Change-Id: If4b981e1fc37e9572864f51825caa96c889b4b3f
2022-05-21 11:26:40 +00:00
Ed Sanders 4a44f8c2e5 build: Update devDependencies
Change-Id: I0bbd117b2b3ebdfee8deb7ed38b409a561f570d5
2022-03-17 22:55:02 +00:00
Volker E 91ea0fcc92 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: Iac535fc7c3284de1ba495a483f9d0161a4dc0927
2022-02-27 03:01:09 -08:00
libraryupgrader d366d5c217 build: Updating validator to 13.7.0
* https://npmjs.com/advisories/1004784 (CVE-2021-3765)

Change-Id: I92dd1ef4b4577918b8a018bdb52e844fc2e17040
2021-11-04 22:54:25 +00:00
libraryupgrader 3c46c571be build: Updating npm dependencies
* @wdio/mocha-framework: 7.4.6 → 7.13.2
  * https://npmjs.com/advisories/5197 (CVE-2021-3807)
* nth-check: 2.0.0 → 2.0.1
  * https://npmjs.com/advisories/5101 (CVE-2021-3803)
* 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: I1796f96f3110821fe0627211951a4a9b312c7b43
2021-10-05 07:45:42 +00:00
libraryupgrader 6ae0653003 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I95dfc184629b92b85a82173473a55155ed1f3698
2021-09-04 21:55:16 +00:00
libraryupgrader 81ac6b3b8b build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I9e98e7c72fc2f733882eb1637805f17d2b978779
2021-08-12 10:01:45 +00:00
libraryupgrader 6b4edb0efd build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0

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)

Change-Id: Ia723f76e78bfbe616d03886ba526be72b8d094fe
2021-07-23 10:25:21 +00:00
sahil 45b95f90f3 selenium: Upgrade WebdriverIO to v7
Update npm packages: @wdio/* and webdriverio.

Also adding a fallback for the case, that the slider does
not open as expected.

It seems, that the update is causing some issues when
waiting for the module state. Waiting for the lazy module
in DiffPage.ready() should make sure, that the event to
trigger the opening of the slider is in place. This seems
to fail sometimes.

Bug: T274579
Change-Id: Icd597fc5aaa857879a8af310166867d433ba0678
2021-07-02 17:36:55 +05:30
libraryupgrader e4a85339ae build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I74e7056ca974f5cc06898ab48e5820a88c4f65ed
2021-05-28 03:51:58 +00:00
Adam Wight 40de993f4c selenium: Update wdio-mediawiki and fix window resizing
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.

Some part of the new setup seems to influnce they way how resize is applied
to the window. The fix makes sure it works as expected.

Bug: T283597
Change-Id: I20697815591243367b5a8bdd1cd1cc173a1ddc77
2021-05-27 10:17:30 +02:00
libraryupgrader 322570c567 build: Updating hosted-git-info to 2.8.9
Change-Id: If43c78936c884971eff8dfd262df39aad8ee6862
2021-05-21 07:45:18 +00:00
Kunal Mehta 35d24e653e build: Use HTTPS for all dependencies
Change-Id: I213a31be0ad688d6c1919a596eb20f5a3cea238c
2021-05-19 09:24:00 -07:00
libraryupgrader d40c4e12f4 build: Updating hosted-git-info to 2.8.9
* https://npmjs.com/advisories/1677 (CVE-2021-23362)

Change-Id: Ib9cd866dd331555fc6c23ce4cb33944525828856
2021-05-18 21:51:24 +00:00
Volker E 5557f7d4ee 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: I71621ebdd0c060a4252780e1ba387d707ac81eab
2021-05-17 17:45:58 -07:00
libraryupgrader bcdbec52a8 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 35.0.0 → 36.0.0
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* grunt: 1.3.0 → 1.4.0
* lodash: 4.17.20 → 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)
* postcss: 7.0.35 → 8.2.15
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)

Change-Id: I414aca6e82f401dec31a1358ea861b30105d73c8
2021-05-13 05:42:58 +00:00
libraryupgrader 0da4b7be69 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I51b782486207ee8e1e983a3c962328e53b42a4c8
2021-04-14 03:28:41 +00:00
libraryupgrader e0ef6cbfe1 build: Updating y18n to 4.0.1
* https://npmjs.com/advisories/1654 (CVE-2020-7774)

Change-Id: I78a454825a7b3f160fe107c568bc77b7b83e2ec8
2021-03-30 06:45:59 +00:00
libraryupgrader f0e95b2911 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I5d3bc67a9211350f8256e59aacce4ae7e4154573
2021-03-14 11:47:24 +00:00
libraryupgrader 3216dac855 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I08049e4da36bd44c9061c49f5659cbe588df5a8a
2021-03-07 19:28:41 +00:00
libraryupgrader 6bbbf17aaa 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: I741732764220eaba0b8a1356e793ce361d76c248
2021-01-30 09:26:11 +00:00
libraryupgrader e8440dec5a build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.10.4 → 0.10.5

npm:
* ini: 1.3.5 → 1.3.7
  * https://npmjs.com/advisories/1589

Change-Id: I3aa864f8a80b613b5b5e8c534947ef35a3fd6c92
2020-12-11 06:07:50 +00:00
libraryupgrader 8ce9334583 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  The following rules are failing and were disabled:
  * unit-disallowed-list

Change-Id: I75146f02a35e71063d2171d10d51774ade00222e
2020-11-22 09:27:59 +00:00
Ed Sanders 49d6f1ef8f build: Update eslint-config-wikimedia to 0.17.0
Fix instances of variable shadowing.

Change-Id: I9f8d4dcab8cb400d04600e7bb543ddda2705d1df
2020-09-11 16:28:52 +01:00
WMDE-Fisch 6d82ab303c build: Update wdio to 6.3.6
Change-Id: I9f08d11684940ccdeeb467d66b7ee0ec4be4c9b8
2020-09-01 13:44:18 +02:00
libraryupgrader b9951a31a3 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: I8961dd6a72fbbae3c659d411f78c1c7432b8dd49
2020-07-23 21:54:36 +00:00
vidhi-mody 94286fd79d Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T250601
Change-Id: Ia2dea1cda3efc5ac43f84d606f718eebce81e046
2020-07-23 01:06:18 +05:30