aboutsummaryrefslogtreecommitdiffstats
path: root/package-lock.json
Commit message (Collapse)AuthorAgeFilesLines
* build: Updating npm dependencieslibraryupgrader2022-11-221-91/+60
| | | | | | | | | * engine.io: 6.1.2 → 6.2.1 * https://github.com/advisories/GHSA-r7qp-cfhv-p84w * socket.io: 4.4.1 → 4.5.3 * https://github.com/advisories/GHSA-r7qp-cfhv-p84w Change-Id: I0caa09fe93385ec0c18866bd9fd7fbc765bd9d70
* build: Updating dependencieslibraryupgrader2022-11-161-21/+197
| | | | | | | | | | composer: * mediawiki/mediawiki-codesniffer: 39.0.0 → 40.0.1 npm: * stylelint-config-wikimedia: 0.13.0 → 0.13.1 Change-Id: I67877aa166d781ce5e30dc2fe99050ebdfb28f32
* build: Updating socket.io-parser to 4.0.5libraryupgrader2022-10-291-6/+6
| | | | | | * https://github.com/advisories/GHSA-qm95-pgcg-qqfq Change-Id: If8c09dcc0b0880799761fe9cdf7487ee8c353ba7
* build: Updating npm dependencieslibraryupgrader2022-10-261-55/+32
| | | | | | | | | * mocha: 9.2.1 → 9.2.2 * https://github.com/advisories/GHSA-f8q6-p94x-37v3 * recursive-readdir: 2.2.2 → 2.2.3 * https://github.com/advisories/GHSA-f8q6-p94x-37v3 Change-Id: I9643a6d5a6f8136e8f670b2b224daeb3361b7741
* build: Updating dependencieslibraryupgrader2022-10-071-69/+61
| | | | | | | | | | | | | | | | | | | | | composer: * mediawiki/mediawiki-codesniffer: 38.0.0 → 39.0.0 The following sniffs are failing and were disabled: * MediaWiki.PHPUnit.AssertEmpty.AssertEmptyUsed * php-parallel-lint/php-console-highlighter: 0.5 → 1.0.0 * php-parallel-lint/php-parallel-lint: 1.3.1 → 1.3.2 npm: * grunt-banana-checker: 0.9.0 → 0.10.0 * grunt: 1.5.2 → 1.5.3 * karma: 6.3.15 → 6.4.1 * async: 2.6.3 → 2.6.4 * https://github.com/advisories/GHSA-fwr7-v2mv-hh25 * got: 11.8.3 → 11.8.5 * https://github.com/advisories/GHSA-pfrx-2q88-qq97 Change-Id: I1d7bc9c9599b48d2bd837617cad409a31adb362a
* package-lock: run npm audit fixsamtar2022-06-041-172/+86
| | | | | | | | | | | | | Run npm audit fix - this takes us from: - 6 vulnerabilities (1 moderate, 3 high, 2 critical) to - 3 vulnerabilities (1 moderate, 2 high) and has modified: - ansi-regex (3.0.0 -> 3.0.1) - ejs (3.1.6 -> 3.1.8) - minimist (1.2.5 -> 1.2.6) Change-Id: I940838dd0696b1a4dd24c1ff797b2123e2d75a09
* Rest: Move TransformHandler to core (part 1)Derick Alangi2022-06-021-1/+14
| | | | | | | | Begin moving the transform endpoints and handler class to MediaWiki core. Bug: T301370 Change-Id: I94e9d2e8d497c1992c542001afe333fa7537e553
* build: Update stylelint-config-wikimedia to 0.13.0Ed Sanders2022-05-041-315/+199
| | | | Change-Id: I59c7507fef057a880bca62a156662ee66f89ed94
* selenium: Use @wdio/spec-reporterŽeljko Filipin2022-03-241-29/+108
| | | | | | | | | | | | | | @wdio/dot-reporter that we currently use doesn't display much. For example, it doesn't display skipped tests. It says 5 test suites are executed, but that's a lie. 3 of those 5 suites are skipped. @wdio/spec-reporter is more verbose but it actually outputs useful information, like which tests are running, which are skipped. This is a revert of aa7133ce8623e3e47202cc196771bf5aec7d72c3. Bug: T280331 Change-Id: I7cef7d6a6d1b5e472622a81afc4f9a91523c1ca9
* build: Update 'svgo' to latest v2.8.0Volker E2022-02-271-21/+21
| | | | | | | Updating 'svgo' to v2.8.0 and newest Wikimedia SVG guidelines – mainly around new whitespace features of SVGO. Change-Id: Ibaf67b1178225c19a80dcba6a9ebbcf8964cbe8d
* build: Update to QUnit 2.18Timo Tijhof2022-02-231-31/+32
| | | | | | | | | | | | | | | | Highlights from release notes at <https://github.com/qunitjs/qunit/releases>: 2.18.0: * New `assert.propContains` for partial object comparison. (Izel Nakri) * New `QUnit.hooks to globally add beforeEach and afterEach. (Timo Tijhof) * CLI: Add support for watching `.ts` files when using TypeScript. 2.17.0: * HTML Reporter: Add "Rerun failed tests" link. (Jan Buschtöns) * Improve validation of `assert.throws`. (Steve McClure) Depends-On: Ia98a60166209646cc641d45a1ece62c131bcbcd0 Change-Id: Ia8ce57fa72ced8286f3e74b0b991e33e24a88850
* build: Update eslint-config-wikimedia to 0.22.1Ed Sanders2022-02-211-1270/+571
| | | | | | Also some minor version updates to karma dependencies as required. Change-Id: I2740faca2d28ad2b2896a3b0222678115d11a166
* build: Update stylelint-config-wikimedia to 0.12.0Ed Sanders2022-02-211-7548/+3766
| | | | Change-Id: Ifb215e45a2ad4574fa821c696199e8c5911ba3ae
* selenium: Upgrade WebdriverIO to v7osamaahmed172022-02-031-1394/+732
| | | | | | | | Update npm packages: @wdio/* and webdriverio. The update is need for WebdriverIO async mode to work. Bug: T274579 Change-Id: I386d3d1d031f92cd67fad4b6746c6489110dfb80
* api-testing: Update to 1.5.0Kosta Harlan2022-01-121-13/+15
| | | | | | Depends-On: Ifb6fc6f3036c1623c32418c5f304b6fc7196fa04 Bug: T298735 Change-Id: I31966e96a996d30fb31f401abecff47a893b8f0c
* Merge "selenium: Refactor WebdriverIO tests from sync to async mode"jenkins-bot2022-01-111-141/+815
|\
| * selenium: Refactor WebdriverIO tests from sync to async modeosamaahmed172022-01-061-141/+815
| | | | | | | | | | | | | | WebdriverIO has dropped support of sync mode due to breaking changes in Chromium, hence all tests have been changed to async. Bug: T293071 Change-Id: I15347b789f11de84b764e13a3981545ed6759881
* | build: Updating json-schema to 0.4.0Alexander Vorwerk2022-01-051-53/+18
|/ | | | | | CVE-2021-3918 Change-Id: If5cce51aaee83b252fa220813cd203dab43d5f39
* build: Update eslint-config-wikimedia to 0.21.0Ed Sanders2021-11-091-194/+13513
| | | | | | | | | | | * Replace `substr`/`substring` with `slice`. The second argument to `substring` is length, not end index as in `substr`/`slice`, so convert where necessary. * Replace `new Date().getTime()` with `Date.now()` * Documentation fixes * Replace `throw Error` with `throw new Error` Change-Id: I532500ea4c99d8ebec01efb21273c8df21626e59
* build: Updating validator to 13.7.0libraryupgrader2021-11-041-3/+3
| | | | | | * https://npmjs.com/advisories/1004784 (CVE-2021-3765) Change-Id: Iea8fdd4db27df008d81e2298b1871c12dbf5830d
* build: Updating dependencieslibraryupgrader2021-10-041-175/+197
| | | | | | | | | | | | | | | composer: * php-parallel-lint/php-parallel-lint: 1.3.0 → 1.3.1 npm: * @wdio/mocha-framework: 7.4.6 → 7.13.2 * https://npmjs.com/advisories/5197 (CVE-2021-3807) * 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) Change-Id: I0b17591a4d230192d5c64b68252bb3024ddcedae
* build: Update qunitjs from 2.10 to 2.16Timo Tijhof2021-07-231-31/+34
| | | | | | | | | | | | Highlights from release notes at <https://github.com/qunitjs/qunit/releases>: * Added `assert.true()` and `assert.false()` methods. * Added `QUnit.test.each()` method. * Added fuzzy search filter as-you-type to the UI. * Fixed HTML UI to increase contrast and use richer colors overall. * Improve the "failing test" experience. Change-Id: Idebf075b4b2be4c73807fd8ba398662240e6c268
* build: Updating dependencieslibraryupgrader2021-07-221-13/+13
| | | | | | | | | | | | | | composer: * mediawiki/mediawiki-codesniffer: 36.0.0 → 37.0.0 The following sniffs now pass and were enabled: * Generic.ControlStructures.InlineControlStructure * MediaWiki.PHPUnit.AssertCount.NotUsed npm: * svgo: 2.3.0 → 2.3.1 * https://npmjs.com/advisories/1754 (CVE-2021-33587) Change-Id: I2a9bbee2fecbf7259876d335f565ece4b3622426
* build: Upgrade stylelint-config-wikimedia from 0.10.3 to 0.11.1James D. Forrester2021-06-291-194/+452
| | | | | | | | Just disabling the `declaration-property-unit-disallowed-list` failures for now, but it looks like at least most of these could be switched over to ems without breaking anything. For another patch! Change-Id: I9220334d670f71eba1b0e392da826036d54bc2f3
* build: Upgrade grunt from 1.3.0 to 1.4.1James D. Forrester2021-06-291-1010/+38
| | | | Change-Id: I5dc481c950bbc6ac479ad9f7acae5cfdbbdfe6fe
* selenium: Upgrade WebdriverIO to v7Željko Filipin2021-06-091-1636/+1445
| | | | | | | Update npm packages: @wdio/* and webdriverio. Bug: T274579 Change-Id: I16c1fd2bbb1486388934cea60d50265d43c0e1e7
* selenium: Record videos using Xvfb+ffmpegŽeljko Filipin2021-05-201-1361/+584
| | | | | | | | | | | | | | | | | | Unil 2020-06-15 we were using Xvfb+ffmpeg to record videos. In eed975d we have switched to wdio-video-reporter npm package. It has never worked very well. It does not really record videos. It creates screenshots and creates videos from them. It does not record modal popups. Sometimes, it doesn't create a video for a test at all. I think it's time to switch back to Xvfb+ffmpeg. It has worked well. The reason we moved to wdio-video-reporter was that it worked on all platforms. That's not really important any more, since Xvfb+ffmpeg works in a Fresh container. Bug: T253113 Change-Id: I221775208576b6496f682ceefd6e6334db488bd4
* build: Upgrade karma and related dependencies to 6.xJames D. Forrester2021-05-191-370/+210
| | | | Change-Id: I378c3580668fe35e5341ddf10929618147c6eb35
* selenium: Update mwbot to v2Željko Filipin2021-05-191-590/+629
| | | | | | | v2 includes removing `[MWBOT] Login successful` message. Bug: T280332 Change-Id: Ibe84bce93f0dcea1ffcbda9042435565d1935090
* build: Update SVGO to latest v2.3.0 and re-crush SVGsVolker E2021-05-181-329/+80
| | | | | | | | | SVGO v2.x changed configuration to JS, amending configuration. Adding new 'minify-svg' npm script. Also re-crushing SVGs. Bug: T278656 Change-Id: I1d746fca051cbc00900a05c33e8a401f95848930
* selenium: remove @wdio/devtools-service NPM packageŽeljko Filipin2021-04-161-1264/+0
| | | | | | | | | | | | | Devtools Service is "A WebdriverIO service that allows you to run Chrome DevTools commands in your tests". It was introduced in 2019 (1955a8a) but we are not using it. For more information see: https://webdriver.io/docs/devtools-service/ Bug: T280334 Change-Id: I718bd5bbcff56c294025f9e3f2fb3de67e1ed9c6
* build: Update eslint-config-wikimedia to 0.20.0Ed Sanders2021-04-081-498/+595
| | | | Change-Id: Ia26ba71e1c41e7564ec60d78d4eb1492de7269d2
* selenium: Delete Sauce Labs NPM packageŽeljko Filipin2021-03-301-1355/+0
| | | | | | | We are no longer using Sauce Labs. Configuration was removed in ee14595. Bug: T248221 Change-Id: I855597f43c91210662a155c4c549bda314361c00
* build: Updating eslint-config-wikimedia to 0.19.0libraryupgrader2021-03-121-20/+37
| | | | | | | Additional changes: * Dropped .php5 and .inc files from .phpcs.xml (T200956). Change-Id: I66c9980d3ef6f6604c3145ad0b7f308257dff046
* build: Upgrade eslint-config-wikimedia from 0.18.1 to 0.18.2James D. Forrester2021-03-041-33/+35
| | | | Change-Id: Ie8d892c1e76330ea63ef834f216b6087cbf7e69c
* build: Upgrade eslint-config-wikimedia from 0.17.0 to 0.18.1James D. Forrester2021-02-181-13791/+14015
| | | | Change-Id: I5e3687be2b197134578126e1b890ee37dbc1bc1b
* build: Updating npm dependencieslibraryupgrader2021-01-031-3/+3
| | | | | | | | | | | * ini: 1.3.5 → 1.3.8 * https://npmjs.com/advisories/1589 Additional changes: * Removed useless -p option to phpcbf in "composer fix" command. * Set `root: true` in .eslintrc.json (T206485). Change-Id: I0116578751fd73e43b07c2830adc629f4b85c784
* Selenium: Target Mediawiki-Docker by defaultHarriet Ayugi2020-12-081-0/+6
| | | | | | | | Removed default values for MEDIAWIKI_USER, MEDIAWIKI_PASSWORD, MW_SERVER and MW_SCRIPT_PATH in wdio.conf.js in order to use values from the .env file. Bug: T247312 Change-Id: I728c705b476f7741982d7e7c3e0ed219f2fcd054
* Update stylelint-config-wikimedia to 0.10.3Ed Sanders2020-11-191-479/+889
| | | | | | Remove needless disables. Change-Id: I324ab9d23a354cb0298a0714df2535f8e8850261
* build: Upgrade grunt from 1.1.0 to 1.3.0James D. Forrester2020-10-221-145/+1334
| | | | Change-Id: I3fdb8738963c222e1b17196951c5469baf037b37
* package-lock.json: Run npm audit fix for node-forge issueJames D. Forrester2020-10-221-7/+7
| | | | Change-Id: I2c7c0ef1f0fe207a9d381cc7a1cec1df1e57b81a
* Selenium: Bump wdio-video-reporter to v3.1.1alqaholic0072020-10-221-61/+85
| | | | | | | | | | | wdio-video-reporter resolves some important issues related to not attaching non-jsonwire events to screenshots. For more info refer: https://github.com/presidenten/wdio-video-reporter/issues/45 Bug: T253113 Change-Id: Iecb156aec2106e92c66c78005866a7b77571b26f
* build: Auto-fix npm audit issuesalqaholic0072020-09-101-651/+685
| | | | | Bug: T262438 Change-Id: Ic463fede8c4a5c364ea05f9437e4a3cb4abcfa22
* build: Update eslint-config-wikimedia to 0.17.0Ed Sanders2020-08-201-860/+744
| | | | | | Fix remaining instances of variable shadowing. Change-Id: I2a3840446f1fe138410249cc35be5ddf262d8e46
* UserContributions endpoint add tags 'display' propertyNikki Nikkhoui2020-08-191-3/+3
| | | | | | | | | | | Add a property to the 'tags' object in the /user/{name}/contributions REST endpoint named 'display' which shows the display HTML for the tag which is either defined in i18n .json files or overriden at MediaWiki:tag-$name Bug: T259716 Depends-On: I57e2a7253944a3fde3f52f52bbf5fe8473c8a415 Change-Id: Id755adcab8b0115e19df2a6046643ebe97881e28
* REST /me/contributions: return change tagsNikki Nikkhoui2020-06-251-3/+3
| | | | | | | | The endpoint for user contributions should include change tags in the result. Bump the version of npm module api-testing. Bug: T252202 Change-Id: Iccc0c378bc65d0f34b38557f4c78f424d95a951f
* build: Update eslint-config-wikimedia to 0.16.2Ed Sanders2020-06-181-14/+162
| | | | | | Use jsduck config. Change-Id: I3a1a0c8f0ca535c9661b3774498866fdb98a4255
* api-testing: Use wikimedia/mocha eslint configEd Sanders2020-06-181-7/+7
| | | | Change-Id: Iec346d87f252c66fbff1e0fa522d7440df6f1764
* Selenium: Use wdio-video-reporter for recording test videosalqaholic0072020-06-151-0/+333
| | | | | | | | | | | | | | | Earlier versions of WebdriverIO lacked support for video recording. Starting with WebdriverIO v5, a new package wdio-video-reporter has been introduced which is used to replace ffmpeg and Xvfb. Limitations: - Alert messages and pop-ups do not get displayed in the videos. New Packages: - wdio-video-reporter Bug: T255253 Change-Id: Id443779959bfac55eae42e16e10d1f20c25375bb
* REST /me/contributions: return revisionsdaniel2020-06-091-3/+3
| | | | | | | | | | | This is part of a chain of patches to complete the REST User Contributions endpoint. This change returns a list of the 2 (hard-coded for now) most recent revisions for a given user. Package.json was also updated for new api-testing module (v 1.1.0) Bug: T252202 Change-Id: I42a5dfc0e1ff7600848e89ac2c4b002e8a3612df