Commit graph

50 commits

Author SHA1 Message Date
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
libraryupgrader 82780a8c0d build: Updating grunt to 1.2.1
Change-Id: I285f3cd759ff57422e3f501eb35cbe511d48c365
2020-07-18 22:23:02 +00:00
libraryupgrader 78ed4ab547 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Iec24546623f311dbfdc5e21009190f4940e232ca
2020-07-16 02:28:18 +00:00
libraryupgrader 218ce8fb59 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: I57df46bccce2548373bab3976797611bb4ea7923
2020-07-11 01:53:58 +00:00
Ed Sanders eaa7966710 build: Update eslint-config-wikimedia to 0.16.1
Mostly documentation style fixes

Change-Id: I75262aead377f7f41931de44c5208b7b7d06930d
2020-06-16 15:13:36 +01:00
vidhi-mody 94b952e78a Selenium: Update to WebdriverIO v5
Update NPM packages: webdriverio, wdio-mediawiki.
Update ESlint configuration.

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()`.
- `moveToObject()` with `moveTo()`.

Bug: T250601
Change-Id: I2c2e79800433eb964368d932954def69af936195
2020-05-24 01:21:04 +05:30
libraryupgrader dc1463dc9f 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
  * mediawiki/valid-package-file-require

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

Change-Id: I2b97bc8da27c435baa9ab4ff8c248d63094b6077
2020-04-22 19:01:40 +00:00
jenkins-bot 81a98350dd Merge "Add SVG minifier and minify files" 2020-04-20 15:11:30 +00:00
WMDE-Fisch fa9991ef99 Add SVG minifier and minify files
Following the standard in the minifier settings we use the SVG
is not inlined anymore. The files got still smaller and I guess
it's fine do leave them like this to meet the standards.

Change-Id: Icc673c5d4811bf707031a27cff78d48aab8f1fa1
2020-04-20 13:58:03 +02:00
libraryupgrader afdafc3b51 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I841de635ca0ccbc7bef83e889ebf856817439c09
2020-04-19 17:23:24 +00:00
libraryupgrader b0194a9f39 build: Updating postcss-sass to 0.4.4
* https://npmjs.com/advisories/1179

Change-Id: I6e19ac39774dd25962c32b1eaafa6def17fd9da2
2020-04-05 09:15:06 +00:00
libraryupgrader 8c17a2659c 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

Change-Id: Id0d2f5bafe5234decec1e305e5d1c6b1e891f4a2
2020-03-21 06:03:30 +00:00
libraryupgrader aeb4a2eb0d build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: Ic5db7b89171152759f85a9500bd35699a30e07a9
2020-03-19 08:52:52 +00:00
libraryupgrader 2162737c90 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Id0de44ae35c6ba55edf4ee872bbb0538be53f9d7
2020-03-08 12:20:52 +00:00
libraryupgrader d448f5785a build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: Ife898bd7bb66d7c6e1ea204d6d3cc7a681e87be6
2020-02-21 01:50:36 +00:00
libraryupgrader a13d8b709e build: Updating npm dependencies
* stylelint-config-wikimedia: 0.7.0 → 0.8.0
* grunt-stylelint: 0.12.0 → 0.13.0

Change-Id: I542ba1cbf70c109222990a34273ee81305ba8a95
2020-01-10 01:33:21 +00:00
Ed Sanders 28bc463836 build: Update linters
Change-Id: Ia316dd09b6d6b7452610ff2b8816a146a3bb48a4
2019-12-11 13:42:51 +00:00
WMDE-Fisch 8c9632385d build: Update dependencies and make them pass
Change-Id: Ia7764d44d7fbc8bf5c03e80887b58031a0de5d86
2019-10-23 17:46:39 +02:00
libraryupgrader e1466c572f build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Iafac35d5a007af7c1b8a49492d4d18e24d10383d
2019-08-23 03:38:50 +00:00
libraryupgrader fbedfdba57 build: Updating npm dependencies
* js-yaml: 3.13.0 → 3.13.1
  * https://npmjs.com/advisories/813
* 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: Ia3b36306bc2d469bed35c9ac47f51be5aa4a7737
2019-08-03 04:45:38 +00:00
WMDE-Fisch 974af21c23 build: add package-lock file
Bug: T179229
Change-Id: Ida8f0e3b27ddef7252f94438016868012b1469e3
2019-07-03 12:14:18 +02:00