Commit graph

61 commits

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

Change-Id: I6785b12bbbce556f330503f95b652dd08a793b9d
2024-08-25 06:13:19 +00:00
Ed Sanders d5f091876a build: Update jsdoc-wmf-theme to 1.1.0
Bug: T368081
Change-Id: I38cadd2c41cd87add401f7bf2410172c97f33d75
2024-06-26 12:22:54 +01:00
libraryupgrader 9ace66f52f 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: Ibc43afb7ee2267918df3629ad0d893c12ec028a4
2024-06-22 07:39:02 +00:00
Ed Sanders 39968fdb9a Update stylelint-config-wikimedia to 0.17.1
Change-Id: Icaa6d43338a747dbbf1d05d50646d6c7a0edda6d
2024-06-07 17:34:06 +01:00
Ed Sanders fa18975543 build: Update eslint-config-wikimedia to 0.28.0 and autofix
Change-Id: Iff4b874580768b008427c0bea535ab08cea14a36
2024-06-07 17:33:12 +01:00
libraryupgrader 75a0ba6a7f build: Updating grunt-banana-checker to 0.13.0
Change-Id: I8749eabf3a1d77c7a530b7a0912760092b8ed610
2024-05-18 18:35:54 +00:00
libraryupgrader 9ef31819ea build: Updating grunt-banana-checker to 0.12.0
Change-Id: Ibe44cc6aa1daa274a9e9125dddb28c9d4eeb2cd2
2024-05-11 02:07:42 +00:00
libraryupgrader 440c870083 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: Icf4797eac4d23c156db82ebce833b5a3101e2eab
2024-05-08 13:22:02 +01:00
libraryupgrader 1307fbfe5c build: Updating dependencies
composer:
* php-parallel-lint/php-parallel-lint: 1.3.2 → 1.4.0

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

Change-Id: I82d7648b545a1eab3691c76b355da21865985082
2024-04-25 11:14:44 +00:00
libraryupgrader 1932aab7c5 build: Updating jsdoc-wmf-theme to 0.0.13
Change-Id: I043309ab641c51d7002c766d2112fc368c457514
2024-04-20 04:30:24 +00:00
libraryupgrader d528cd8e45 build: Updating eslint-config-wikimedia to 0.27.0
Change-Id: I69dea23ba0ca00ad303805087a48bbe7863e45d9
2024-04-19 23:23:27 +00:00
libraryupgrader a0728ee218 build: Updating npm dependencies
* jsdoc: 3.6.10 → 4.0.2
* jsdoc-wmf-theme: 0.0.8 → 0.0.12

Change-Id: I140a150e5a36281927453cd9330667d5e63f55b0
2024-02-16 06:50:03 +00:00
libraryupgrader 147b576b57 build: Updating dependencies
composer:
* mediawiki/mediawiki-phan-config: 0.12.1 → 0.14.0

npm:
* eslint-config-wikimedia: 0.25.1 → 0.26.0
  The following rules are failing and were disabled:
  * resources:
    * es-x/no-resizable-and-growable-arraybuffers
  * tests/qunit:
    * es-x/no-resizable-and-growable-arraybuffers

* grunt-banana-checker: 0.11.0 → 0.11.1

Change-Id: Ief610bdadaccd2325cd1b8a2cae70b7e465d8b76
2024-02-13 02:13:29 +00:00
libraryupgrader 993936420c build: Updating npm dependencies
* grunt-eslint: 24.2.0 → 24.3.0
* grunt-stylelint: 0.18.0 → 0.19.0
* stylelint-config-wikimedia: 0.15.0 → 0.16.1

Change-Id: I2f770b102304643a78dea200d1e8bfabb6c5cf55
2024-02-07 19:00:44 +00:00
libraryupgrader 23184825bd build: Updating npm dependencies
* eslint-plugin-compat: 4.1.4 → 4.2.0
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw
* postcss: 8.4.21 → 8.4.33
  * https://github.com/advisories/GHSA-7fh5-64p2-3v2j
* semver: 7.3.8 → 7.5.4
  * https://github.com/advisories/GHSA-c2qf-rxjj-qqgw

Change-Id: I44179fd3c9f072d7d4034d4211e5fa98ea84e34c
2024-02-04 05:22:41 +00:00
Volker E cfcb8d4755 build: Update 'svgo' to latest v3.2.0 and re-crush 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
- removing obsolete 'grayscale.svg' which was introduced in
  I0f2c2b24aece3b but seems to have not been in use. It itself is not
  reasonable, as an SVG filter needs an element to be applied to, which
  this SVG didn't feature.
- unifying npm command to qua standard notation `minify:svg` and add
  “parent” command `minify` as well.

Bug: T354875
Change-Id: Ie4d8ef85b9b9d28943a7216f0b5ed6392592a43e
2024-01-18 12:04:02 +01:00
James D. Forrester 886a7e722c build: Upgrade jsdoc-wmf-theme from ^v0.0.5 to v0.0.8
Change-Id: I93c4a73d229b47f11027923a5b5c5065a9987ed1
2023-08-23 09:56:07 -04:00
Ed Sanders a33f7e5c57 Update linters and fix issues
Change-Id: Ib562131bbb3a9940d56602e0c4dbbe810ce7358c
2023-06-28 19:12:48 +01:00
jenkins-bot a397dc6062 Merge "Add jsdoc to MMV" 2023-06-16 19:24:59 +00:00
Volker E efdbd6bdf3 build: Update SVGO to v3.0.2
svgo         2.8.0  →   3.0.2

Amending to new `cleanupIds` plugin name.

Bug: T339162
Change-Id: Idf0bb67aba5f225c7989bbe6794c6d2888bafb5f
2023-06-15 08:43:20 -07:00
Simon Legner 5f781b7a9b Add jsdoc to MMV
This replaces the jsduck implementation that we recently removed.

Changes:
* Document events on Document element.

Bug: T337039
Change-Id: Iaa9f54c7838159a75a38eec0d49f203803aadee7
2023-06-12 22:08:14 +02:00
libraryupgrader 3d2efea28b build: Updating eslint-config-wikimedia to 0.25.0
Change-Id: I1e91af933628429e9e7306adc9268acac11a65e6
2023-05-04 08:00:43 +00:00
libraryupgrader a8f1558f08 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: If42aad2afc29c14df58c4ecb31ed80969513f3e7
2023-04-29 07:33:44 +00:00
libraryupgrader ae401d9156 build: Updating npm dependencies
* grunt: 1.5.3 → 1.6.1
* stylelint-config-wikimedia: 0.13.1 → 0.14.0
  The following rules are failing and were disabled:
  * selector-pseudo-element-colon-notation

Change-Id: Ibbe87825fc58e5766fd963123488f0d3d3d5d2d9
2023-03-31 01:19:03 +00:00
Umherirrender 8a7182b27a build: Updating npm dependencies
* eslint-config-wikimedia: 0.22.1 → 0.24.0

Change-Id: I8d3b6ca9d9e0d0c0b2019f0a165eb51618e829b8
2023-03-25 22:33:26 +01:00
libraryupgrader 2cb5b98be4 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1

npm:
* stylelint-config-wikimedia: 0.13.0 → 0.13.1

Change-Id: I6b2a1dad9973d7c6047a86a73db0288f0a5a41bb
2022-11-16 10:03:46 +00:00
libraryupgrader 59da131284 build: Updating grunt-banana-checker to 0.10.0
Change-Id: Id9d44d8ac1a067b7cfe750f096d8d1023e9506d8
2022-10-07 01:55:55 +00:00
Ed Sanders e131da48f9 build: Update eslint-config-wikimedia to 0.22.1
Change-Id: I275ecfa03b3df8554b30f2a0f6d94d4b66da8088
2022-05-20 00:05:49 +01:00
Ed Sanders 3a61a45a53 build: Update stylelint-config-wikimedia to 0.13.0
Change-Id: I1b6de87b8a1b48220104af42a4e43d81a289438c
2022-05-19 23:58:01 +01:00
Volker E d1c468f909 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: I2b1ea90124b0f5793ffe76bc94d050654cc8baf7
2022-02-27 02:42:31 -08:00
Ed Sanders b03af20581 eslint: Lint Gruntile.js using server rules
Change-Id: I6f6f7391668412b2bb572a8d77da8e137fa169bb
2022-02-07 16:38:38 +00:00
libraryupgrader 9d2ee7ddec build: Updating npm dependencies
* 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: I3f9c016edb3d1baa61f89c50a6b81e772dc74a2c
2021-10-05 03:41:45 +00:00
libraryupgrader d659ff8882 build: Updating stylelint-config-wikimedia to 0.11.1
The following rules are failing and were disabled:
* declaration-property-unit-disallowed-list

Change-Id: I1eef05c2358208b0dea8a8fce17a61707c9d9687
2021-09-04 21:19:06 +00:00
libraryupgrader 3473d53015 build: Updating path-parse to 1.0.7
* https://npmjs.com/advisories/1773 (CVE-2021-23343)

Change-Id: I55d57e28b20594914ef8f3eac050f0262a7064ff
2021-08-12 05:01:44 +00:00
libraryupgrader 79f0b5fee3 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)
* glob-parent: 5.1.1 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I5cda428562117c80d57ae7a21c6eb9563a75e3f0
2021-07-23 04:17:18 +00:00
libraryupgrader 751c5cad42 build: Updating browserslist to 4.16.6
* https://npmjs.com/advisories/1747 (CVE-2021-23364)

Change-Id: I7cfed84cd11ce705c6555f41579eb6c450929551
2021-05-25 22:47:15 +00:00
libraryupgrader 2217b6be67 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: 3.0.7 → 3.0.8
  * 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: Ie9fd2ea3c980c0a2a50ba3cf58269f83afe77e7d
2021-05-11 20:38:12 +00:00
libraryupgrader 54647ec198 build: Updating eslint-config-wikimedia to 0.20.0
Change-Id: Iacb383954abfddb4636eb92650f9ebcbaef88ac0
2021-04-17 04:37:38 +00:00
Volker E 3205e72ad8 build: Replace 'grunt-svgmin' with npm based 'svgo' & re-crush SVGs
Replacing 'grunt-svgmin' with 'svgo' v2.3.0.
Also
- replacing all Grunt based tasks with npm equivalents. 'build' has
before just been for SVG minification and that's the same now in npm.
- changing to JS based '.svgo.config.js'
- re-crushing all SVGs. Note that 'link-hover.svg' and 'link.svg' have
been optimized with reduced precision. All other changes are resulting
from updated SVGO.

Bug: T278656
Change-Id: Ie895edb4e88336ffc56f570b8f80bf7d1e331894
2021-04-12 13:01:59 -07:00
libraryupgrader 1abd4f0c43 build: Updating eslint-config-wikimedia to 0.19.0
Additional changes:
* eslint: Renamed `wikimedia/client` profile to `client-es5` (T277085).

Change-Id: Iff75678dd3ae3a2b0a48ba81d1e3f566d828c001
2021-03-14 03:22:36 +00:00
libraryupgrader ee5fd7c6d9 build: Updating eslint-config-wikimedia to 0.18.2
Change-Id: Idd520fcadb28ddc197ecff8bd337107d23bd93af
2021-03-07 07:32:20 +00:00
libraryupgrader 11aa6f743b 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
  The following rules are failing and were disabled:
  * compat/compat

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

Change-Id: I7ed7478bb68c79c0f9d844581c350a9ecf19ba00
2021-01-30 04:57:45 +00:00
libraryupgrader ae4bc30897 build: Updating ini to 1.3.8
* https://npmjs.com/advisories/1589

Change-Id: If73981b43d4d8d4970f34cc4863d2c478bcecc6a
2020-12-13 13:49:55 +00:00
libraryupgrader ba913b96c9 build: Updating npm dependencies
* grunt-stylelint: 0.15.0 → 0.16.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3

Change-Id: I154d50b5b1c002ec330a3b1ce1e1ca376d7530a1
2020-11-22 06:35:42 +00:00
libraryupgrader 787429e1af 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: Ia41a39555f46aaa9108d17b7dd40b8a35de4f616
2020-09-04 06:23:25 +00:00
libraryupgrader 35974b6a2b build: Updating grunt to 1.2.1
Change-Id: Ifdf351d460663edeb636b6e5f0b2b5b503a0db1b
2020-07-18 17:20:17 +00:00
libraryupgrader 8213ccd83d build: Updating lodash to 4.17.19
* https://npmjs.com/advisories/1523
* CVE-2019-10744

Change-Id: I56c24c78ebfa367d6c874e3b059b10ae9f47b895
2020-07-10 08:04:39 +00:00
Ed Sanders bfdcd8dbf1 eslint: Update eslint-config-wikimedia to 0.16.2
Change-Id: I0c35ed9b5ab00952124cb0e5c6c48fbc0d734f60
2020-06-26 12:14:27 +01:00
libraryupgrader a690f08db1 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: I5b408af2b4c953c93f32668585cf589c7621d0d4
2020-04-22 15:01:58 +00:00
libraryupgrader c7895a9d80 build: Updating grunt-banana-checker to 0.9.0
Change-Id: Ibbcc533c7c58c392e5b4117ab860f07cf2c332d8
2020-04-19 12:58:13 +00:00