Commit graph

79 commits

Author SHA1 Message Date
libraryupgrader ebea8cd3de build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I83981fb720ee219230f9f6094c18fdf29d7f4ba0
2021-03-05 04:35:46 +00:00
libraryupgrader c00395f6c6 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 34.0.0 → 35.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Usage.SuperGlobalsUsage.SuperGlobals

* mediawiki/minus-x: 1.1.0 → 1.1.1

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

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

Change-Id: Iaa3a8844fa93040a4f344b62d0d9173574ed3189
2021-01-28 21:17:54 +00:00
James D. Forrester 48b1b509fc build: Upgrade eslint-config-wikimedia from 0.17.0 to 0.18.0 and make pass
Change-Id: I2053ee5521434bc04a28b137eb3745e2c6f3c06a
2021-01-25 10:10:44 -08:00
libraryupgrader 04f6c29fb5 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: I158f0fe11f6a5caabecb358c08cfc9bcb6dc1a61
2020-12-12 12:24:34 +00:00
libraryupgrader b7a40e702c build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I8536a09b1833797ab7ed6b6316df2f9d0bb08f39
2020-11-21 19:38:27 +00:00
libraryupgrader 98f808caff build: Updating bl to 4.0.3
* https://npmjs.com/advisories/1555

Change-Id: I936b83bfc7c45dd5c48f2cba9bd5b1c4141688b6
2020-09-09 18:15:30 +00:00
libraryupgrader 324988568e build: Updating npm dependencies
* eslint-config-wikimedia: 0.16.2 → 0.17.0
* grunt: 1.2.1 → 1.3.0

Change-Id: If5037cda474db1da785bab0ac690bd002a8a1dae
2020-09-03 09:31:08 +00:00
libraryupgrader 6931744971 build: Updating grunt to 1.2.1
Change-Id: I238f9ee9e4294d07e3589c7398aa6d28a9e2c000
2020-07-17 18:12:17 +00:00
libraryupgrader 9bb4a612a4 build: Updating eslint-config-wikimedia to 0.16.2
Change-Id: Iffcdfe6444828789a1f98e411a2882be01948da4
2020-07-15 19:19:05 +00:00
libraryupgrader 18cfe51806 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: If6bdfd0a95964ee6e0c2acc9f57b07a3594a5353
2020-07-08 18:52:42 +00:00
Ed Sanders 9f81f74608 eslint config tweaks
Change-Id: I7822a9345428791a469251a4b327b76e8422ade0
2020-06-09 19:39:03 +01:00
jaredblumer 12f9be5e69 eslint: Update to eslint-config-wikimedia 0.16.0
* Update ESLint config with Selenium WebdriverIO test suite
* Update modules and Selenium pageobjects and specs per ESLint
requirements
* Update grunt-eslint package to 23.0.0 as required by
eslint-config-wikimedia 0.16.0

Bug: T254495
Change-Id: Ibfcf9115adedf9f2c3e7dac1ac626b41fc97b7c4
2020-06-08 21:17:50 -04:00
vidhi-mody 76025137a3 Selenium: Update to WebdriverIO v6
Update NPM packages: @wdio/* and webdriverio.

Bug: T253167
Change-Id: I11edb5dca8d1d45ffc336c805a40c502b815ce1f
2020-05-28 19:56:43 +05:30
vidhi-mody f2759a17c9 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`.

Bug: T253167
Change-Id: Ia26da6d0f56398a908bd4e99ae77db603647f533
2020-05-21 12:36:32 +00:00
libraryupgrader 54c9f85e0e build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

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

Change-Id: I36af8f746b8b30082faec0ab75194f5c84fee151
2020-04-21 17:38:43 +00:00
libraryupgrader 07f11f8092 build: Updating grunt-banana-checker to 0.9.0
Change-Id: I5c2cb1280d11273205c0e5e417612800f97e7ff0
2020-04-20 02:58:38 +00:00
libraryupgrader 99d2c57bf9 build: Updating gonzales-pe to 4.3.0
* https://npmjs.com/advisories/1179

Change-Id: I348359ab95d92b63ca382c93afc60e065d4e91e7
2020-03-30 22:46:07 +00:00
libraryupgrader fe97727253 build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: Icb5adcf627154b1275adb656f793b637d739dd2b
2020-03-21 17:27:40 +00:00
libraryupgrader be0605b580 build: Updating npm dependencies
* minimist: 0.0.8 → 1.2.5
  * https://npmjs.com/advisories/1179
* acorn: 7.1.1 → 7.1.1
  * https://npmjs.com/advisories/1488

Change-Id: If688e466c9743db5b1c84afa8f4534a775f0acd4
2020-03-17 17:41:36 +00:00
libraryupgrader 0dbce79725 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: I091c3baef48d81216f85fc3868fd7952e5f61b3e
2020-03-08 19:56:25 +00:00
libraryupgrader b97818867d build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: I3113038f3f57b63d2f7c1cf2e7b41946d1e52bdd
2020-02-20 17:23:00 +00:00
libraryupgrader 1d911b8187 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 28.0.0 → 29.0.0
  The following sniffs are failing and were disabled:
  * MediaWiki.Commenting.FunctionComment.MissingParamTag
  * MediaWiki.Commenting.FunctionComment.ParamNameNoMatch

npm:
* eslint-config-wikimedia: 0.13.1 → 0.15.0
* grunt-stylelint: 0.11.1 → 0.13.0
* stylelint-config-wikimedia: 0.6.0 → 0.8.0

Additional changes:
* Remove direct "stylelint" dependency in favor of "grunt-stylelint".
* Also sorted "composer fix" command to run phpcbf last.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I8f73202db1333fbc36ccf556b3bb05b1e8c279cb
2020-01-21 07:38:54 +00:00
libraryupgrader b47b6cea38 build: Updating grunt-banana-checker to 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I51f571f920fde95575497cc7b98ef3b9bbc37d2f
2019-12-15 13:49:12 +00:00
libraryupgrader 08d3431130 build: Updating grunt-stylelint to 0.11.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ia603aec7dd94a397867a24ebf721906d50b959ea
2019-10-20 23:04:43 +00:00
Daimona Eaytoy 0646b4fe7d Add config for Selenium and basic tests
This is some sort of Hello World for selenium. This patch adds the
config files and a couple of very basic tests.

Bug: T214478
Change-Id: I8193b4edb40332bea1d08e24ec020bf36004320d
2019-09-17 16:23:07 +00:00
libraryupgrader 6b5d20c9b7 build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I13f3123608242ac1bee91ee05130926375d3f485
2019-08-24 04:08:38 +00:00
MarcoAurelio f07bf610c0 build: Update npm dependencies
- eslint-config-wikimedia  0.12.0  →  0.13.1
 - grunt-banana-checker      0.7.0  →   0.7.1
 - grunt-eslint             21.0.0  →  22.0.0
 - grunt-stylelint          0.10.1  →  0.11.0
 - stylelint                 9.9.0  →  10.1.0

Also npm audit (fix) them afterwards.

Addresses CVE-2019-10744.

Change-Id: I3153e269decab7f2637e2a41934e0ee07a5df760
2019-07-31 17:29:00 +00:00
libraryupgrader a1203293bd build: Updating npm dependencies
* 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: I36781c59229e416074783f0dc80b7e96bc730e1e
2019-07-14 07:35:03 +00:00
libraryupgrader 4d891531c5 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: I9fd83412ab145c8850493cdc4014fc0fc54485d2
2019-06-07 20:12:00 +00:00