Commit graph

41 commits

Author SHA1 Message Date
Umherirrender 65b0f8b3b7 build: Add stylelint for less file
Change-Id: I87717cd5f1a2aa55f78174d639fe7ba648837172
2024-04-02 01:31:42 +02:00
libraryupgrader 14446bc46b build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* debug: 3.2.6, 4.3.4 → 3.2.7, 4.3.4
  * https://github.com/advisories/GHSA-gxpj-cx7g-858c

Change-Id: I2146474e2c88eee539b87829a7e761099c732fc5
2024-02-13 03:30:47 +00:00
Volker E b4daae5ba2 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: I099da9abda686371acea3207a6121cfe0aa5b937
2024-01-15 22:05:13 +01:00
Ed Sanders 4826b01af6 Update ESLint and fix config
Change-Id: I53da439c547b1931140a407a71284643aa7f5d49
2023-11-30 12:01:26 +00:00
Ed Sanders 1f2ef4bfb3 build: Update linters
Change-Id: Ib7540c4a667a3e766b1846776672bd8bc301b973
2023-10-04 16:56:18 +01:00
Volker E b48cd91d1d build: Update SVGO to v3.0.2
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.

Bug: T339162
Change-Id: I1559364231f7ae21f338b12fa6bcfbeae45eb38d
2023-06-15 08:47:57 -07:00
libraryupgrader 0640bb95a8 build: Updating grunt-banana-checker to 0.11.0
Change-Id: Id62ec9ce524c0e14e346c568fd6d3d1948f0c709
2023-06-02 15:32:13 +00:00
libraryupgrader 8e07390f9e build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: Iaae7607aac280e4aa77377cce8a0f68b997f5377
2023-05-05 18:09:34 +00:00
libraryupgrader 04a8493207 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: I40a2859a5308d01cdbf3ee899a500da56ae554d1
2023-04-29 12:35:27 +00:00
libraryupgrader 4d9651d46f build: Updating grunt to 1.6.1
Change-Id: I42194b6cbbc39f348f971d33c0e95157c82bc88b
2023-03-27 21:14:35 +00:00
Umherirrender 2a9a2e08e1 build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0

Change-Id: I8802407ab40834168d48f19a7926f9254c17a59e
2023-03-24 20:48:23 +01:00
libraryupgrader 46ac24ad01 build: Updating qs to 6.11.0
* https://github.com/advisories/GHSA-hrpp-h998-j3pp

Change-Id: I75a971884d4c7bdf451a926ea3aceeb39beaa21c
2022-12-07 03:48:50 +00:00
libraryupgrader c726944c22 build: Updating minimatch to 3.0.8
* https://github.com/advisories/GHSA-f8q6-p94x-37v3

Change-Id: I064a1fbc089de789c2c7681df8b7d0471ff9b9e4
2022-10-21 20:30:35 +00:00
libraryupgrader 157e61305d build: Updating grunt-banana-checker to 0.10.0
Change-Id: I8f00b4797902b3462d05625371685c4d11c780ba
2022-10-07 07:44:33 +00:00
libraryupgrader d2ad73ee42 build: Updating grunt to 1.5.3
Change-Id: I7667a4c137740d8c8139d0a06b41a9e01c16a811
2022-05-27 02:19:17 +00:00
libraryupgrader da266db965 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:
* eslint-config-wikimedia: 0.20.0 → 0.22.1
* grunt: 1.4.0 → 1.5.2
* grunt-eslint: 23.0.0 → 24.0.0
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25

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

Change-Id: I7dfe053d1281bab4df8abcbaac84aa2a2f1bf198
2022-05-21 15:34:41 +00:00
Volker E bb54b8a122 build: Add SVGO latest v2.8.0 and re-crush SVGs
Adding new 'minify-svg' npm script.
Also re-crushing SVGs.

Bug: T283068
Change-Id: I24c4f386c83fd9412e7b861341add9838a898f7b
2022-02-07 05:12:10 -08:00
Ed Sanders 1daf4bcf2d build: Update eslint config
Change-Id: If0871326eb35f8cb6ef026784cd04fca5754ab59
2022-01-25 22:01:31 +00:00
libraryupgrader 99fb7b7404 build: Updating ansi-regex to 5.0.1
* https://npmjs.com/advisories/1002401 (CVE-2021-3807)

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

Change-Id: I91ecb20ea77f92425facbca9bd0687547ee8aea4
2021-10-09 00:32:10 +00:00
libraryupgrader 908320abaa build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: Iec6ed5ef393294cc520d8a46489c39003de13278
2021-08-25 10:40:09 +00:00
libraryupgrader 192a27231f build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I8b6dd5d9c4f75bb5dc8767e0f99d126eb6e38d6f
2021-05-26 05:27:33 +00:00
Kunal Mehta 62b81a59f2 build: Use HTTPS for all dependencies
Change-Id: I6bc411a3b0f96aa981f0a678c6ed8bb4e594bc39
2021-05-19 09:24:26 -07:00
libraryupgrader f0174b6d2e 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.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* websocket-extensions: 0.1.3 → 0.1.4
  * https://npmjs.com/advisories/1710 (CVE-2020-7662)

Change-Id: I661206f3303409b846a1aec4160ff24b5e5e08ba
2021-05-14 18:03:47 +00:00
libraryupgrader 7662f6c61b build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: I808cbd2471d4cec72df383d03f208ea4d92da106
2021-04-14 10:37:46 +00:00
libraryupgrader c979546aee build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: I3880fa56d78749f3078f9acca6f18c82cbba783e
2021-03-14 18:09:31 +00:00
libraryupgrader 13b929bed4 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: I82ebc4ed8c25aea44a01b46f5bdfabcddb7246f2
2021-03-08 03:32:15 +00:00
libraryupgrader 2c2b79f9b9 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: I9f93be1e4480b38031295771aa2a8b540268b2db
2021-01-30 16:07:37 +00:00
libraryupgrader 07448c1cea 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: Iecd4c889bd7235f531185e81a53d191b241296ad
2020-12-11 11:39:00 +00:00
libraryupgrader 794c21f05d 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: I7e765d4c77ab59120551860a0fbd3f79c09f6953
2020-09-04 23:34:40 +00:00
libraryupgrader d307eba720 build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: Iface699c536954fe04cff57016354b66383a6864
2020-07-11 05:45:38 +00:00
Ed Sanders cf9aeb5689 build: Update eslint-config-wikimedia to 0.16.2
Change-Id: If00a92d0ff96cee4df4d5468a862e3ae2a90b911
2020-07-09 16:35:57 +01:00
libraryupgrader 82aa21bd81 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 29.0.0 → 30.0.0

npm:
* eslint-config-wikimedia: 0.15.0 → 0.15.3

Change-Id: I06353d4946f3a2df5abc528d6803905d1d0a7531
2020-04-22 21:00:03 +00:00
libraryupgrader f14b95774e build: Updating grunt-banana-checker to 0.9.0
Change-Id: I24f14d86fe599d26554398af9b9bb698b4536cd9
2020-04-19 21:01:30 +00:00
libraryupgrader 409e869e5a build: Updating npm dependencies
* mkdirp: 0.5.1 → 0.5.3
  * https://npmjs.com/advisories/1179
* eslint: 6.7.2 → 6.8.0
  * https://npmjs.com/advisories/1179

Change-Id: Ia21044aa4fe2329e4116d91775a6731a95fe8833
2020-03-21 07:52:39 +00:00
libraryupgrader 09008ad436 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I7ffcd5d90ec81e88474f0ec338c4a9a9eef0bad0
2020-03-19 14:29:45 +00:00
libraryupgrader cde236ee63 build: Updating acorn to 7.1.1
* https://npmjs.com/advisories/1488

Change-Id: Ide1226a3496dda28b4372e983653f40f2cd782da
2020-03-08 14:32:28 +00:00
Ed Sanders c033679cb8 build: Update eslint-config-wikimedia
Change-Id: I3cbcbb1695896ddc1e54c40dc0da50f91944916f
2019-12-12 11:36:24 +00:00
Ammar eae0f237df Remove unneeded CSS for thanks toast link
Minerva now provides default styling for these links.
Also removing 'grunt-stylelint' package as there are no
CSS/LESS files in this extension any more.

Bug: T232102
Change-Id: I4e8b44d3159ab4a87103fa8471c7b1b145ac6016
2019-09-06 09:23:12 -07:00
libraryupgrader 1c7e5c3e0c build: Updating eslint-utils to 1.4.2
* https://npmjs.com/advisories/1118

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: I0a9e4a94efeacf82cc21f17a52b5fd7998839146
2019-08-23 06:47:37 +00:00
libraryupgrader f10a681867 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 24.0.0 → 26.0.0

npm:
* lodash: 4.17.11 → 4.17.14
  * https://npmjs.com/advisories/1065
  * CVE-2019-10744
* 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: Ib56cfcea4fa6d8818a280ddbab673a245c54e36f
2019-07-16 03:05:19 +00:00
libraryupgrader 854a469788 build: Updating npm dependencies for security issues
* Updated stylelint-config-wikimedia to 0.6.0, addressing:
  * https://npmjs.com/advisories/786

Committed package-lock.json (T179229) too.

Change-Id: Icc29bdcf8161634d8ccbb8124356505ab69793fd
2019-06-09 01:08:29 +00:00