Commit graph

12 commits

Author SHA1 Message Date
libraryupgrader a5e13eee75 build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I4a3efd1082e884a4ab8d17eb4f4e0181690c62a9
2020-03-19 13:28:45 +00:00
libraryupgrader 7393155fdb build: Updating npm dependencies
* eslint-config-wikimedia: 0.11.0 → 0.15.0
* grunt-eslint: 21.0.0 → 22.0.0

Additional changes:
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I90b2d015c99cad35ad8face7f8f0baeec04525af
2020-01-08 16:25:38 +00:00
libraryupgrader 14ae8c2280 build: Updating grunt-banana-checker to 0.8.1
Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ib2fee54da5833b3acb227d549b5e00c45e22ac28
2019-12-15 02:13:27 +00:00
libraryupgrader 5e6a0b5c30 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.4, addressing:
  * https://npmjs.com/advisories/788
  * https://npmjs.com/advisories/813

Committed package-lock.json (T179229) too.

Change-Id: I2a0b9a5d68a08b20057bac70465a2f99ead85b78
2019-06-09 00:53:50 +00:00
James D. Forrester 73d502fa68 build: Update eslint-config-wikimedia from 0.8.1 to 0.11.0
Change-Id: Iaf6ec8659228b430aafcc0953f035d29b64f1eaf
2019-04-12 21:58:46 +00:00
Ed Sanders e2be4d8771 build: Update devDependencies
eslint-config-wikimedia   0.5.0  →   0.8.1
 grunt-eslint             20.0.0  →  21.0.0

Change-Id: If0c71e22aaeb9db6c1fc4cbfb19934ab829febee
2018-11-03 12:37:28 +00:00
libraryupgrader 0d2290c08e build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: If63afb1c665d0e1876fdd18af0c42598d3092bbd
2018-10-11 11:16:08 +00:00
Ed Sanders 92291a8778 build: Update eslint
Change-Id: I690ef5856e2dbbd86522c01aea94e74a8b69a7e6
2017-10-03 16:14:25 +01:00
Brad Jorsch b301a30abf Use wikimedia/css-sanitizer, and rewrite the hooking
wikimedia/css-sanitizer provides a real CSS parser, which should be
safer than poking at things with regular expressions.

Instead of the strange hybrid model that tried to both process inline
CSS and save CSS when the template is saved, it now looks for
<templatestyles src="Title" /> during the parse to do all the
transclusion of styles.

The output method is "<style> tags in the body", pending someone
implementing T160563.

It now also registers a "sanitized-css" content model, which should pick
up the CSS syntax highlighting and will validate the submitted CSS on
submit and prevent a save if it's not valid.

This patch also takes advantage of LGPL-2.x § 3 to relicense the
extension as GPL-2.0+, although at this point none of the LGPL code
remains anyway.

Bug: T133408
Bug: T136054
Bug: T135788
Bug: T135789
Change-Id: I993e6f18d32a43aac8398743133d227b05133bbd
Depends-On: If4eb5bf71f94fa366ec4eddb6964e8f4df6b824a
2017-06-07 15:14:09 +00:00
James D. Forrester 7ba77fd48f build: Replace jshint and jscs with eslint; bump other devDeps
grunt                  0.4.5  →  1.0.1
 grunt-banana-checker   0.5.0  →  0.6.0
 grunt-jsonlint         1.0.7  →  1.1.0

Change-Id: Ic59fd7fa96d7f18fd65141c1b4fd4f6baccc6d80
2017-05-25 17:31:35 +02:00
Umherirrender 95deb18b3f Use tabs to indent in json
Change-Id: Ifba40f1902bee0ce50fdb1296b5603a5117aa8cf
2017-03-23 19:31:51 +01:00
Coren 31743445bd TemplateStyles extension prototype
This extension adds a <templatestyles> tag that, when placed
on a template, allows specifying CSS for pages where that
template is transcluded.

Unlike inline styles, the per-template CSS supports rules
with proper selectors, and @media blocks.

THIS VERSION DOES NOT CURRENTLY FILTER DECLARATIONS and is
therefore unsuitable for wikis where unprivileged users should
not be allowed to influcence the pagewide CSS in unrestricted
ways!

Bug: T483
Change-Id: Ibc1cae3079d164f7ac7bcc7c4ded3f02bb048614
2016-04-08 11:08:59 -04:00