Commit graph

17 commits

Author SHA1 Message Date
libraryupgrader 9f2edcb8b8 build: Updating npm dependencies
* grunt: 1.4.0 → 1.5.3
* nomnom: 1.8.1 → 1.8.1
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
* underscore: 1.6.0 → 1.6.0
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq

Change-Id: Ia175e479e71e93167b3040870e021a5e5aaa0dcb
2022-05-24 00:00:14 +00:00
libraryupgrader 2b5d01aed9 build: Updating dependencies
composer:
* mediawiki/mediawiki-codesniffer: 31.0.0 → 38.0.0
  The following sniffs are failing and were disabled:
  * Generic.ControlStructures.DisallowYodaConditions.Found
  * MediaWiki.Commenting.PropertyDocumentation.MissingDocumentationPrivate
  * MediaWiki.Usage.ExtendClassUsage.FunctionConfigUsage
  * MediaWiki.Usage.ExtendClassUsage.FunctionVarUsage
  * MediaWiki.Usage.StaticClosure.StaticClosure
  * MediaWiki.WhiteSpace.UnaryMinusSpacing.SpaceFound

npm:
* ajv: 6.10.2 → 6.12.6
  * https://github.com/advisories/GHSA-v88g-cgmw-v5xw
* ansi-regex: 5.0.0 → 5.0.1
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
  * https://github.com/advisories/GHSA-93q8-gq69-wqmw
* async: 3.2.0 → 3.2.3
  * https://github.com/advisories/GHSA-fwr7-v2mv-hh25
* minimist: 1.2.5 → 1.2.6
  * https://github.com/advisories/GHSA-xvch-5gv4-984h
* nanoid: 3.1.23 → 3.3.2
  * https://github.com/advisories/GHSA-qrpm-p2h7-hrv2
* nomnom: 1.8.1 → 1.8.1
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq
* underscore: 1.6.0 → 1.6.0
  * https://github.com/advisories/GHSA-cf4h-3jhx-xvhq

Additional changes:
* Set `name` in package.json.
* Dropped default excluded folder(s) from .phpcs.xml (T274684).
* composer.json: Updated phpcs command in composer test (T280592).
* composer.json: Added phpcs command to scripts (T280592).

Change-Id: Ia3147e9e457519b3c538c816254d09c62f9a40bb
2022-04-15 21:35:18 +00:00
libraryupgrader f7f0ddb130 build: Updating npm dependencies
* grunt: 1.1.0 → 1.4.0
* stylelint-config-wikimedia: 0.10.1 → 0.10.3
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)
* hosted-git-info: 2.8.5 → 2.8.9
  * https://npmjs.com/advisories/1677 (CVE-2021-23362)
* @stylelint/postcss-markdown: 0.36.1 → 0.36.2
  * https://npmjs.com/advisories/1700 (CVE-2020-7753)

Change-Id: Id75bc1b814a9ead5fdbc12f499c8a0f5959cedd0
2021-05-13 05:05:12 +00:00
libraryupgrader 6d55508c9a 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: Ife8be95455760953ce19fa22e6ea34f25f0c6503
2020-04-22 18:59:31 +00:00
libraryupgrader 7c0453552f build: Updating grunt-banana-checker to 0.9.0
Change-Id: I53b314461d3840f4351cce1fd6da1bc5e4ae0766
2020-04-19 17:21:25 +00:00
libraryupgrader 8afa9e8fbe build: Updating minimist to 1.2.5
* https://npmjs.com/advisories/1179

Change-Id: I79cfcd85b5365c8ea331a442467ee05d593a9cd1
2020-03-19 08:49:57 +00:00
libraryupgrader c681e92498 build: Updating npm dependencies
* grunt-stylelint: 0.13.0 → 0.14.0
* stylelint-config-wikimedia: 0.8.0 → 0.9.0

Change-Id: Iab7d99f3796bbb2cd03439e89fc4fee993ac5171
2020-02-21 01:49:25 +00:00
libraryupgrader bd97827f43 build: Updating npm dependencies
* grunt-stylelint: 0.9.0 → 0.13.0
* stylelint-config-wikimedia: 0.4.2 → 0.8.0

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

Change-Id: Ic0f66acde9ca9ebf2606b6f5afea25c562ceb828
2020-01-10 16:05:39 +00:00
libraryupgrader efb62c28a2 build: Updating npm dependencies
* eslint-config-wikimedia: 0.5.0 → 0.15.0
* grunt-eslint: 20.1.0 → 22.0.0

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: If786c6664f05a9b8d9db26e120ced522fd248422
2020-01-08 04:58:45 +00:00
libraryupgrader 6332b4497d build: Updating dependencies
composer:
* mediawiki/minus-x: 0.3.1 → 0.3.2
* mediawiki/mediawiki-codesniffer: 26.0.0 → 28.0.0
  The following sniffs are failing and were disabled:
  * PSR12.Files.ImportStatement.LeadingSlash

  The following sniffs now pass and were enabled:
  * MediaWiki.Usage.DeprecatedGlobalVariables.Deprecated$wgContLang

npm:
* grunt-banana-checker: 0.6.0 → 0.8.1

Additional changes:
* Added .eslintcache to .gitignore.

Change-Id: Ibdd18a68f35644e2a6abea849e47d6a1b284fbd4
2019-12-18 04:29:56 +00:00
libraryupgrader cd30ac5482 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: I9615c95b449a6ca661ee33c1d15b5c6f60df5cf9
2019-06-08 19:58:34 +00:00
libraryupgrader a5dc24dc47 build: Updating npm dependencies for security issues
* Updated grunt to 1.0.3, addressing:
  * https://npmjs.com/advisories/577
  * CVE-2018-3721

Change-Id: I1662a2f337afc6062840e833b2c86eeac35555f0
2018-10-11 10:39:03 +00:00
Timo Tijhof 20f34321f4 build: Simplify linter configs
* eslint: Already excludes node_modules by default.
  https://eslint.org/docs/user-guide/configuring#ignoring

* eslint: Expands directories by default, much faster to
  let ESLint crawl the directories while knowing what to exclude,
  then to let Grunt expand **/** recursively run each file
  individually.
  This makes Grunt run ESLint the same way as one normally
  would from the command line: `eslint .`, except without
  the eslint CLI sub-process.

* eslint: Preserve the exclude for vendor via eslint config
  so that it also works when running ESLint outside Grunt,
  e.g. in IDEs or from the command line with extra options.

* stylelint: Ignores node_modules by default.
  https://stylelint.io/user-guide/node-api/#files

Change-Id: I1a78e9d93e7666c1539bcf4a3bc50306cecf89ba
2018-04-26 16:51:35 +01:00
Cindy Cicalese 3c36f7452a Update CI files, dir structure, remove inline JS.
Bug:T191546
Bug:T191919
Change-Id: Ia7ed03a98972262d164fd131bcb84994ad279c7f
2018-04-11 17:21:08 +00:00
Antoine Musso 1978596bb5 build: mark package.json as private
We do not release a npm package for this repository, the package.json
is solely for CI/build purposes.

Change-Id: I3da11273ff7876e83fdb278a504f9b1589e69991
2017-08-01 15:55:45 +02:00
Antoine Musso 2e8cf3413a Reorder package.json devDependencies
Change-Id: Ie2a174ba9a2f2689a4fece8f746de1c7935b25c0
2017-08-01 15:55:12 +02:00
Paladox 826c44afc4 Add npm entry point
Change-Id: If89e3c94c49cc4d0f9ca7fa30cbfed772ba58493
2016-06-02 12:07:58 +00:00