$ date
--- stdout ---
Tue Aug 19 01:34:10 UTC 2025
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-DonationInterface.git repo --depth=1 -b master
--- stderr ---
Cloning into 'repo'...
--- stdout ---
--- end ---
$ git config user.name libraryupgrader
--- stdout ---
--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---
--- end ---
$ git submodule update --init
--- stdout ---
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/master
--- stdout ---
d63ed728e38b9e91de735e32df52c45daef6d63f refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"babel-core": {
"name": "babel-core",
"severity": "critical",
"isDirect": true,
"via": [
"babel-helpers",
"babel-register",
"babel-template",
"babel-traverse",
"json5"
],
"effects": [
"babel-register"
],
"range": "5.8.20 - 7.0.0-beta.3",
"nodes": [
"node_modules/babel-core"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-helpers": {
"name": "babel-helpers",
"severity": "critical",
"isDirect": false,
"via": [
"babel-template"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/babel-helpers"
],
"fixAvailable": true
},
"babel-register": {
"name": "babel-register",
"severity": "high",
"isDirect": false,
"via": [
"babel-core"
],
"effects": [
"babel-core"
],
"range": "*",
"nodes": [
"node_modules/babel-register"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-template": {
"name": "babel-template",
"severity": "critical",
"isDirect": false,
"via": [
"babel-traverse"
],
"effects": [
"babel-helpers"
],
"range": "*",
"nodes": [
"node_modules/babel-template"
],
"fixAvailable": true
},
"babel-traverse": {
"name": "babel-traverse",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096879,
"name": "babel-traverse",
"dependency": "babel-traverse",
"title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code",
"url": "https://github.com/advisories/GHSA-67hx-6x53-jw92",
"severity": "critical",
"cwe": [
"CWE-184",
"CWE-697"
],
"cvss": {
"score": 9.4,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
"range": "<7.23.2"
}
],
"effects": [
"babel-core",
"babel-template"
],
"range": "*",
"nodes": [
"node_modules/babel-traverse"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1096543,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": "<1.0.2"
}
],
"effects": [
"babel-core"
],
"range": "<1.0.2",
"nodes": [
"node_modules/babel-core/node_modules/json5"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 4,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 1112,
"optional": 3,
"peer": 2,
"peerOptional": 0,
"total": 1112
}
}
}
--- end ---
$ /usr/bin/composer install
--- stderr ---
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Lock file operations: 74 installs, 0 updates, 0 removals
- Locking addshore/psr-6-mediawiki-bagostuff-adapter (0.1)
- Locking amzn/login-and-pay-with-amazon-sdk-php (2.5.0)
- Locking clio/clio (0.1.8)
- Locking coderkungfu/php-queue (1.0.1)
- Locking composer/ca-bundle (1.5.7)
- Locking composer/pcre (3.3.2)
- Locking composer/semver (3.4.3)
- Locking composer/spdx-licenses (1.5.9)
- Locking composer/xdebug-handler (3.0.5)
- Locking corneltek/getoptionkit (2.7.3)
- Locking dealerdirect/phpcodesniffer-composer-installer (v1.1.2)
- Locking doctrine/deprecations (1.1.5)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking geoip2/geoip2 (v2.13.0)
- Locking gr4vy/gr4vy-php (v0.27.0)
- Locking guzzlehttp/guzzle (7.9.3)
- Locking guzzlehttp/promises (2.2.0)
- Locking guzzlehttp/psr7 (2.7.1)
- Locking lcobucci/clock (3.3.1)
- Locking lcobucci/jwt (4.3.0)
- Locking maxmind-db/reader (v1.12.1)
- Locking maxmind/minfraud (v1.23.0)
- Locking maxmind/web-service-common (v0.9.0)
- Locking mediawiki/mediawiki-codesniffer (v47.0.0)
- Locking mediawiki/mediawiki-phan-config (0.17.0)
- Locking mediawiki/minus-x (1.1.3)
- Locking mediawiki/phan-taint-check-plugin (7.0.0)
- Locking microsoft/tolerant-php-parser (v0.1.2)
- Locking monolog/monolog (2.10.0)
- Locking netresearch/jsonmapper (v4.5.0)
- Locking phan/phan (5.5.1)
- Locking php-parallel-lint/php-console-color (v1.0.1)
- Locking php-parallel-lint/php-console-highlighter (v1.0.0)
- Locking php-parallel-lint/php-parallel-lint (v1.4.0)
- Locking phpcsstandards/phpcsextra (1.2.1)
- Locking phpcsstandards/phpcsutils (1.0.12)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.6.3)
- Locking phpdocumentor/type-resolver (1.10.0)
- Locking phpmailer/phpmailer (v6.10.0)
- Locking phpstan/phpdoc-parser (2.2.0)
- Locking predis/predis (v1.1.10)
- Locking psr/cache (1.0.1)
- Locking psr/clock (1.0.0)
- Locking psr/container (2.0.2)
- Locking psr/http-client (1.0.3)
- Locking psr/http-factory (1.1.0)
- Locking psr/http-message (2.0)
- Locking psr/log (1.1.4)
- Locking ralouphie/getallheaders (3.0.3)
- Locking relisten/forceutf8 (1.1.0)
- Locking respect/stringifier (0.2.0)
- Locking respect/validation (2.4.4)
- Locking sabre/event (5.1.7)
- Locking squizlabs/php_codesniffer (3.12.2)
- Locking symfony/console (v7.3.2)
- Locking symfony/deprecation-contracts (v3.6.0)
- Locking symfony/http-foundation (v6.4.24)
- Locking symfony/polyfill-ctype (v1.32.0)
- Locking symfony/polyfill-intl-grapheme (v1.32.0)
- Locking symfony/polyfill-intl-normalizer (v1.32.0)
- Locking symfony/polyfill-mbstring (v1.32.0)
- Locking symfony/polyfill-php80 (v1.32.0)
- Locking symfony/polyfill-php83 (v1.32.0)
- Locking symfony/service-contracts (v3.6.0)
- Locking symfony/string (v7.3.2)
- Locking symfony/yaml (v7.3.2)
- Locking tysonandre/var_representation_polyfill (0.1.3)
- Locking webmozart/assert (1.11.0)
- Locking whichbrowser/parser (v2.1.8)
- Locking wikimedia/remex-html (5.1.0)
- Locking wikimedia/smash-pig (v0.9.7.10)
- Locking wikimedia/testing-access-wrapper (3.0.0)
- Locking wikimedia/utfnormal (4.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 74 installs, 0 updates, 0 removals
- Syncing amzn/login-and-pay-with-amazon-sdk-php (2.5.0) into cache
- Downloading wikimedia/smash-pig (v0.9.7.10)
0/1 [>---------------------------] 0%
1/1 [============================] 100%
- Installing squizlabs/php_codesniffer (3.12.2): Extracting archive
- Installing dealerdirect/phpcodesniffer-composer-installer (v1.1.2): Extracting archive
- Installing psr/cache (1.0.1): Extracting archive
- Installing addshore/psr-6-mediawiki-bagostuff-adapter (0.1): Extracting archive
- Installing clio/clio (0.1.8): Extracting archive
- Installing composer/pcre (3.3.2): Extracting archive
- Installing symfony/deprecation-contracts (v3.6.0): Extracting archive
- Installing psr/http-message (2.0): Extracting archive
- Installing psr/http-client (1.0.3): Extracting archive
- Installing ralouphie/getallheaders (3.0.3): Extracting archive
- Installing psr/http-factory (1.1.0): Extracting archive
- Installing guzzlehttp/psr7 (2.7.1): Extracting archive
- Installing guzzlehttp/promises (2.2.0): Extracting archive
- Installing guzzlehttp/guzzle (7.9.3): Extracting archive
- Installing psr/clock (1.0.0): Extracting archive
- Installing lcobucci/clock (3.3.1): Extracting archive
- Installing symfony/polyfill-mbstring (v1.32.0): Extracting archive
- Installing lcobucci/jwt (4.3.0): Extracting archive
- Installing maxmind-db/reader (v1.12.1): Extracting archive
- Installing respect/stringifier (0.2.0): Extracting archive
- Installing respect/validation (2.4.4): Extracting archive
- Installing composer/ca-bundle (1.5.7): Extracting archive
- Installing maxmind/web-service-common (v0.9.0): Extracting archive
- Installing geoip2/geoip2 (v2.13.0): Extracting archive
- Installing maxmind/minfraud (v1.23.0): Extracting archive
- Installing symfony/polyfill-php80 (v1.32.0): Extracting archive
- Installing phpcsstandards/phpcsutils (1.0.12): Extracting archive
- Installing phpcsstandards/phpcsextra (1.2.1): Extracting archive
- Installing composer/spdx-licenses (1.5.9): Extracting archive
- Installing composer/semver (3.4.3): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v47.0.0): Extracting archive
- Installing tysonandre/var_representation_polyfill (0.1.3): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.32.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.32.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.32.0): Extracting archive
- Installing symfony/string (v7.3.2): Extracting archive
- Installing psr/container (2.0.2): Extracting archive
- Installing symfony/service-contracts (v3.6.0): Extracting archive
- Installing symfony/console (v7.3.2): Extracting archive
- Installing sabre/event (5.1.7): Extracting archive
- Installing netresearch/jsonmapper (v4.5.0): Extracting archive
- Installing microsoft/tolerant-php-parser (v0.1.2): Extracting archive
- Installing webmozart/assert (1.11.0): Extracting archive
- Installing phpstan/phpdoc-parser (2.2.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing doctrine/deprecations (1.1.5): Extracting archive
- Installing phpdocumentor/type-resolver (1.10.0): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.6.3): Extracting archive
- Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing composer/xdebug-handler (3.0.5): Extracting archive
- Installing phan/phan (5.5.1): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (7.0.0): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.17.0): Extracting archive
- Installing mediawiki/minus-x (1.1.3): Extracting archive
- Installing monolog/monolog (2.10.0): Extracting archive
- Installing php-parallel-lint/php-console-color (v1.0.1): Extracting archive
- Installing php-parallel-lint/php-console-highlighter (v1.0.0): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.4.0): Extracting archive
- Installing relisten/forceutf8 (1.1.0): Extracting archive
- Installing symfony/polyfill-php83 (v1.32.0): Extracting archive
- Installing whichbrowser/parser (v2.1.8): Extracting archive
- Installing wikimedia/utfnormal (4.0.0): Extracting archive
- Installing wikimedia/remex-html (5.1.0): Extracting archive
- Installing symfony/yaml (v7.3.2): Extracting archive
- Installing symfony/http-foundation (v6.4.24): Extracting archive
- Installing predis/predis (v1.1.10): Extracting archive
- Installing phpmailer/phpmailer (v6.10.0): Extracting archive
- Installing gr4vy/gr4vy-php (v0.27.0): Extracting archive
- Installing corneltek/getoptionkit (2.7.3): Extracting archive
- Installing coderkungfu/php-queue (1.0.1): Extracting archive
- Installing amzn/login-and-pay-with-amazon-sdk-php (2.5.0): Cloning 0c923fe992 from cache
- Installing wikimedia/smash-pig (v0.9.7.10): Extracting archive
- Installing wikimedia/testing-access-wrapper (3.0.0): Extracting archive
0/71 [>---------------------------] 0%
19/71 [=======>--------------------] 26%
33/71 [=============>--------------] 46%
45/71 [=================>----------] 63%
55/71 [=====================>------] 77%
64/71 [=========================>--] 90%
71/71 [============================] 100%
30 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating optimized autoload files
Class SmashPig\PaymentProviders\Fundraiseup\Tests\AuditTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Fundraiseup/Tests/phpunit/AuditTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\Manual\TestCreatePayment located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/manual/TestCreatePayment.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\IdealStatusProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/IdealStatusProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\HostedCheckoutProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/HostedCheckoutProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\ApiTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/ApiTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\AuditTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/AuditTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\AuthenticatorTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/AuthenticatorTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\BankPaymentProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/BankPaymentProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\PaymentProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/PaymentProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Ingenico\Tests\TokenizeRecurringJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Ingenico/Tests/phpunit/TokenizeRecurringJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Amazon\Tests\RecordPaymentsJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Amazon/Tests/phpunit/RecordPaymentsJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Amazon\Tests\NormalizeTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Amazon/Tests/phpunit/NormalizeTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Amazon\Tests\ActionsTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Amazon/Tests/phpunit/ActionsTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Amazon\Tests\ApiTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Amazon/Tests/phpunit/ApiTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Amazon\Tests\AuditTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Amazon/Tests/phpunit/AuditTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\CaptureJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/CaptureJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\RestResponseValidatorTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/RestResponseValidatorTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\CancelRecurringActionTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/CancelRecurringActionTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\RequeueMessageTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/RequeueMessageTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Tests\PaymentCaptureActionTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/PaymentCaptureActionTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\RecurringContractActionTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/RecurringContractActionTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Tests\RefundInitiatedActionTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/RefundInitiatedActionTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\RecurringContractJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/RecurringContractJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\RecurringPaymentTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/RecurringPaymentTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Tests\ReferenceDataTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/ReferenceDataTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\ApiTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/ApiTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\AutoRescueActionTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/AutoRescueActionTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Tests\ChargebackInitiatedActionTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/ChargebackInitiatedActionTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Tests\ReportAvailableTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/ReportAvailableTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\AuditTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/AuditTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Test\RecordCaptureJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/RecordCaptureJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Tests\TokenizeRecurringJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/TokenizeRecurringJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Adyen\Tests\CaptureResponseActionTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Adyen/Tests/phpunit/CaptureResponseActionTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Gravy\phpunit\RiskScoresTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Gravy/Tests/phpunit/RiskScoresTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Tests\PaidMessageJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/PaidMessageJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Tests\RestResponseValidatorTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/RestResponseValidatorTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Tests\RejectedMessageJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/RejectedMessageJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Tests\SignatureCalculatorTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/SignatureCalculatorTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Tests\AuthorizedMessageJobTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/AuthorizedMessageJobTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Tests\ApiTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/ApiTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Test\AuditTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/AuditTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\dlocal\Tests\CardPaymentProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/dlocal/Tests/phpunit/CardPaymentProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\PayPal\Tests\CaptureIncomingMessageTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/PayPal/Tests/phpunit/CaptureIncomingMessageTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\PayPal\Tests\PaymentProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/PayPal/Tests/phpunit/PaymentProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Braintree\Tests\SignatureValidatorTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Braintree/Tests/phpunit/SignatureValidatorTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Braintree\Tests\PayPalPaymentProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Braintree/Tests/phpunit/PayPalPaymentProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Braintree\Tests\VenmoPaymentProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Braintree/Tests/phpunit/VenmoPaymentProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Braintree\Tests\ApiTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Braintree/Tests/phpunit/ApiTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Braintree\Test\AuditTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Braintree/Tests/phpunit/AuditTest.php does not comply with psr-4 autoloading standard. Skipping.
Class SmashPig\PaymentProviders\Braintree\Tests\PaymentProviderTest located in ./vendor/wikimedia/smash-pig/PaymentProviders/Braintree/Tests/phpunit/PaymentProviderTest.php does not comply with psr-4 autoloading standard. Skipping.
29 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
PHP CodeSniffer Config installed_paths set to ../../mediawiki/mediawiki-codesniffer,../../phpcsstandards/phpcsextra,../../phpcsstandards/phpcsutils
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"babel-core": {
"name": "babel-core",
"severity": "critical",
"isDirect": true,
"via": [
"babel-helpers",
"babel-register",
"babel-template",
"babel-traverse",
"json5"
],
"effects": [
"babel-register"
],
"range": "5.8.20 - 7.0.0-beta.3",
"nodes": [
"node_modules/babel-core"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-helpers": {
"name": "babel-helpers",
"severity": "critical",
"isDirect": false,
"via": [
"babel-template"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/babel-helpers"
],
"fixAvailable": true
},
"babel-register": {
"name": "babel-register",
"severity": "high",
"isDirect": false,
"via": [
"babel-core"
],
"effects": [
"babel-core"
],
"range": "*",
"nodes": [
"node_modules/babel-register"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-template": {
"name": "babel-template",
"severity": "critical",
"isDirect": false,
"via": [
"babel-traverse"
],
"effects": [
"babel-helpers"
],
"range": "*",
"nodes": [
"node_modules/babel-template"
],
"fixAvailable": true
},
"babel-traverse": {
"name": "babel-traverse",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096879,
"name": "babel-traverse",
"dependency": "babel-traverse",
"title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code",
"url": "https://github.com/advisories/GHSA-67hx-6x53-jw92",
"severity": "critical",
"cwe": [
"CWE-184",
"CWE-697"
],
"cvss": {
"score": 9.4,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
"range": "<7.23.2"
}
],
"effects": [
"babel-core",
"babel-template"
],
"range": "*",
"nodes": [
"node_modules/babel-traverse"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1096543,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": "<1.0.2"
}
],
"effects": [
"babel-core"
],
"range": "<1.0.2",
"nodes": [
"node_modules/babel-core/node_modules/json5"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 4,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 1112,
"optional": 3,
"peer": 2,
"peerOptional": 0,
"total": 1112
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex@2.2.1',
npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-icons@2.2.1',
npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
"added": 1112,
"removed": 0,
"changed": 0,
"audited": 1113,
"funding": 152,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"babel-core": {
"name": "babel-core",
"severity": "critical",
"isDirect": true,
"via": [
"babel-helpers",
"babel-register",
"babel-template",
"babel-traverse",
"json5"
],
"effects": [
"babel-register"
],
"range": "5.8.20 - 7.0.0-beta.3",
"nodes": [
"node_modules/babel-core"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-helpers": {
"name": "babel-helpers",
"severity": "critical",
"isDirect": false,
"via": [
"babel-template"
],
"effects": [],
"range": "*",
"nodes": [
"node_modules/babel-helpers"
],
"fixAvailable": true
},
"babel-register": {
"name": "babel-register",
"severity": "high",
"isDirect": false,
"via": [
"babel-core"
],
"effects": [
"babel-core"
],
"range": "*",
"nodes": [
"node_modules/babel-register"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"babel-template": {
"name": "babel-template",
"severity": "critical",
"isDirect": false,
"via": [
"babel-traverse"
],
"effects": [
"babel-helpers"
],
"range": "*",
"nodes": [
"node_modules/babel-template"
],
"fixAvailable": true
},
"babel-traverse": {
"name": "babel-traverse",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096879,
"name": "babel-traverse",
"dependency": "babel-traverse",
"title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code",
"url": "https://github.com/advisories/GHSA-67hx-6x53-jw92",
"severity": "critical",
"cwe": [
"CWE-184",
"CWE-697"
],
"cvss": {
"score": 9.4,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
},
"range": "<7.23.2"
}
],
"effects": [
"babel-core",
"babel-template"
],
"range": "*",
"nodes": [
"node_modules/babel-traverse"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
},
"json5": {
"name": "json5",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1096543,
"name": "json5",
"dependency": "json5",
"title": "Prototype Pollution in JSON5 via Parse Method",
"url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h",
"severity": "high",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 7.1,
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"
},
"range": "<1.0.2"
}
],
"effects": [
"babel-core"
],
"range": "<1.0.2",
"nodes": [
"node_modules/babel-core/node_modules/json5"
],
"fixAvailable": {
"name": "babel-core",
"version": "4.7.16",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 2,
"critical": 4,
"total": 6
},
"dependencies": {
"prod": 1,
"dev": 1112,
"optional": 3,
"peer": 2,
"peerOptional": 0,
"total": 1112
}
}
}
}
--- end ---
{"added": 1112, "removed": 0, "changed": 0, "audited": 1113, "funding": 152, "audit": {"auditReportVersion": 2, "vulnerabilities": {"babel-core": {"name": "babel-core", "severity": "critical", "isDirect": true, "via": ["babel-helpers", "babel-register", "babel-template", "babel-traverse", "json5"], "effects": ["babel-register"], "range": "5.8.20 - 7.0.0-beta.3", "nodes": ["node_modules/babel-core"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}, "babel-helpers": {"name": "babel-helpers", "severity": "critical", "isDirect": false, "via": ["babel-template"], "effects": [], "range": "*", "nodes": ["node_modules/babel-helpers"], "fixAvailable": true}, "babel-register": {"name": "babel-register", "severity": "high", "isDirect": false, "via": ["babel-core"], "effects": ["babel-core"], "range": "*", "nodes": ["node_modules/babel-register"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}, "babel-template": {"name": "babel-template", "severity": "critical", "isDirect": false, "via": ["babel-traverse"], "effects": ["babel-helpers"], "range": "*", "nodes": ["node_modules/babel-template"], "fixAvailable": true}, "babel-traverse": {"name": "babel-traverse", "severity": "critical", "isDirect": false, "via": [{"source": 1096879, "name": "babel-traverse", "dependency": "babel-traverse", "title": "Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code", "url": "https://github.com/advisories/GHSA-67hx-6x53-jw92", "severity": "critical", "cwe": ["CWE-184", "CWE-697"], "cvss": {"score": 9.4, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}, "range": "<7.23.2"}], "effects": ["babel-core", "babel-template"], "range": "*", "nodes": ["node_modules/babel-traverse"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}, "json5": {"name": "json5", "severity": "high", "isDirect": false, "via": [{"source": 1096543, "name": "json5", "dependency": "json5", "title": "Prototype Pollution in JSON5 via Parse Method", "url": "https://github.com/advisories/GHSA-9c47-m6qq-7p4h", "severity": "high", "cwe": ["CWE-1321"], "cvss": {"score": 7.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H"}, "range": "<1.0.2"}], "effects": ["babel-core"], "range": "<1.0.2", "nodes": ["node_modules/babel-core/node_modules/json5"], "fixAvailable": {"name": "babel-core", "version": "4.7.16", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 2, "critical": 4, "total": 6}, "dependencies": {"prod": 1, "dev": 1112, "optional": 3, "peer": 2, "peerOptional": 0, "total": 1112}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex@2.2.1',
npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-icons@2.2.1',
npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated osenv@0.1.5: This package is no longer supported.
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
--- stdout ---
added 1111 packages, and audited 1112 packages in 12s
152 packages are looking for funding
run `npm fund` for details
# npm audit report
babel-traverse *
Severity: critical
Babel vulnerable to arbitrary code execution when compiling specifically crafted malicious code - https://github.com/advisories/GHSA-67hx-6x53-jw92
fix available via `npm audit fix --force`
Will install babel-core@4.7.16, which is a breaking change
node_modules/babel-traverse
babel-core 5.8.20 - 7.0.0-beta.3
Depends on vulnerable versions of babel-helpers
Depends on vulnerable versions of babel-register
Depends on vulnerable versions of babel-template
Depends on vulnerable versions of babel-traverse
Depends on vulnerable versions of json5
node_modules/babel-core
babel-register *
Depends on vulnerable versions of babel-core
node_modules/babel-register
babel-template *
Depends on vulnerable versions of babel-traverse
node_modules/babel-template
babel-helpers *
Depends on vulnerable versions of babel-template
node_modules/babel-helpers
json5 <1.0.2
Severity: high
Prototype Pollution in JSON5 via Parse Method - https://github.com/advisories/GHSA-9c47-m6qq-7p4h
fix available via `npm audit fix --force`
Will install babel-core@4.7.16, which is a breaking change
node_modules/babel-core/node_modules/json5
6 vulnerabilities (2 high, 4 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex@2.2.1',
npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-icons@2.2.1',
npm WARN EBADENGINE required: { node: '>=20', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated osenv@0.1.5: This package is no longer supported.
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated glob@7.1.7: Glob versions prior to v9 are no longer supported
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
--- stdout ---
added 1111 packages, and audited 1112 packages in 22s
152 packages are looking for funding
run `npm fund` for details
6 vulnerabilities (2 high, 4 critical)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stderr ---
PASS tests/jest/views/pause-donations.test.js
PASS tests/jest/components/recurring-cancel-confirmation.test.js
PASS tests/jest/views/cancel-donations.test.js
PASS tests/jest/views/login.test.js
PASS tests/jest/views/home.test.js
PASS tests/jest/components/recurring-cancel-form.test.js
PASS tests/jest/components/donations_history.test.js
PASS tests/jest/components/donations_list_table.test.js
PASS tests/jest/components/recurring-pause-form.test.js
PASS tests/jest/components/recurring_contribution_summary.test.js
PASS tests/jest/components/inactive_recurring_contribution.test.js
PASS tests/jest/components/active_recurring_contribution.test.js
PASS tests/jest/components/recurring-cancel-success.test.js
PASS tests/jest/components/app.test.js
PASS tests/jest/components/header.test.js
PASS tests/jest/routes/router.test.js
PASS tests/jest/components/recurring-cancel-option-container.test.js
PASS tests/jest/components/contact_details.test.js
PASS tests/jest/components/onetime_contribution.test.js
PASS tests/jest/components/footer.test.js
PASS tests/jest/components/recurring-pause-success.test.js
PASS tests/jest/components/greeting_component.test.js
PASS tests/jest/components/error-component.test.js
Test Suites: 23 passed, 23 total
Tests: 49 passed, 49 total
Snapshots: 0 total
Time: 8.183 s
Ran all test suites.
--- stdout ---
> test
> grunt test && npm run test:unit
Running "eslint:all" (eslint) task
/src/repo/Gruntfile.js
37:11 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/adyen_gateway/forms/adyen.js
1:26 warning 'Promise' is already defined as a built-in global variable no-redeclare
5:3 warning 'configFromServer' is never reassigned. Use 'const' instead prefer-const
6:3 warning 'payment_method' is never reassigned. Use 'const' instead prefer-const
8:3 warning 'country' is never reassigned. Use 'const' instead prefer-const
9:3 warning 'language' is never reassigned. Use 'const' instead prefer-const
17:3 warning 'GOOGLEPAY_COMPONENT_TYPE' is never reassigned. Use 'const' instead prefer-const
18:3 warning 'ACH_GET_DONOR_ADDRESS' is never reassigned. Use 'const' instead prefer-const
25:1 warning Missing JSDoc @return type jsdoc/require-returns-type
65:5 warning Unexpected var, use let or const instead no-var
81:23 warning ES2015 'Promise' class is forbidden es-x/no-promise
83:11 warning 'bContact' is never reassigned. Use 'const' instead prefer-const
84:8 warning 'sContact' is never reassigned. Use 'const' instead prefer-const
132:5 warning Unexpected var, use let or const instead no-var
163:23 warning ES2015 'Promise' class is forbidden es-x/no-promise
223:34 warning ES2015 'Promise' class is forbidden es-x/no-promise
227:14 warning ES2015 'Promise' class is forbidden es-x/no-promise
311:2 warning 'submitPromise' is never reassigned. Use 'const' instead prefer-const
311:22 warning ES2015 'Promise' class is forbidden es-x/no-promise
399:6 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
538:4 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
548:4 warning 'containerName' is never reassigned. Use 'const' instead prefer-const
552:3 warning 'component_type' is never reassigned. Use 'const' instead prefer-const
571:3 warning 'oldShowErrors' is never reassigned. Use 'const' instead prefer-const
593:3 warning 'config' is never reassigned. Use 'const' instead prefer-const
601:3 warning 'checkoutPromise' is never reassigned. Use 'const' instead prefer-const
625:4 warning ES2015 'Promise' class is forbidden es-x/no-promise
652:4 warning ES2015 'Promise' class is forbidden es-x/no-promise
/src/repo/amazon_gateway/amazon.js
3:6 warning 'clientId' is never reassigned. Use 'const' instead prefer-const
4:3 warning 'sellerId' is never reassigned. Use 'const' instead prefer-const
5:3 warning 'sandbox' is never reassigned. Use 'const' instead prefer-const
6:3 warning 'returnUrl' is never reassigned. Use 'const' instead prefer-const
7:3 warning 'widgetScript' is never reassigned. Use 'const' instead prefer-const
8:3 warning 'loginScript' is never reassigned. Use 'const' instead prefer-const
9:3 warning 'failPage' is never reassigned. Use 'const' instead prefer-const
10:3 warning 'isRecurring' is never reassigned. Use 'const' instead prefer-const
14:3 warning 'validTokenPattern' is never reassigned. Use 'const' instead prefer-const
14:23 warning Use a regular expression literal instead of the 'RegExp' constructor prefer-regex-literals
22:3 warning 'CARD_SELECT_DELAY' is never reassigned. Use 'const' instead prefer-const
98:2 warning 'accessToken' is never reassigned. Use 'const' instead prefer-const
99:2 warning 'loginError' is never reassigned. Use 'const' instead prefer-const
268:8 warning Selector extensions are not allowed no-jquery/no-sizzle
/src/repo/braintree_gateway/forms/braintree.js
10:6 warning 'di' is never reassigned. Use 'const' instead prefer-const
12:3 warning 'payment_method' is never reassigned. Use 'const' instead prefer-const
/src/repo/dlocal_gateway/forms/dlocal.js
27:7 warning 'dlocalInstance' is never reassigned. Use 'const' instead prefer-const
28:4 warning 'fields' is never reassigned. Use 'const' instead prefer-const
33:4 warning 'commonStyle' is never reassigned. Use 'const' instead prefer-const
49:3 warning 'cardField' is never reassigned. Use 'const' instead prefer-const
55:3 warning 'expirationField' is never reassigned. Use 'const' instead prefer-const
61:3 warning 'cvvField' is never reassigned. Use 'const' instead prefer-const
/src/repo/gravy_gateway/forms/gravy.js
11:2 warning 'extraData' is never reassigned. Use 'const' instead prefer-const
12:2 warning 'configFromServer' is never reassigned. Use 'const' instead prefer-const
13:2 warning 'sessionId' is never reassigned. Use 'const' instead prefer-const
14:2 warning 'environment' is never reassigned. Use 'const' instead prefer-const
15:2 warning 'gravyId' is never reassigned. Use 'const' instead prefer-const
16:2 warning 'redirectPaypal' is never reassigned. Use 'const' instead prefer-const
17:2 warning 'showRedirectText' is never reassigned. Use 'const' instead prefer-const
18:2 warning 'googlePaymentClient' is never reassigned. Use 'const' instead prefer-const
20:2 warning 'language' is never reassigned. Use 'const' instead prefer-const
21:2 warning 'country' is never reassigned. Use 'const' instead prefer-const
22:2 warning 'isIndia' is never reassigned. Use 'const' instead prefer-const
23:2 warning 'applePayPaySessionVersionNumber' is never reassigned. Use 'const' instead prefer-const
122:25 warning All possible message keys should be documented. See https://w.wiki/4r9a for details mediawiki/msg-doc
122:49 warning All possible message keys should be documented. See https://w.wiki/4r9a for details mediawiki/msg-doc
260:8 warning 'extraData' is already declared in the upper scope on line 11 column 2 no-shadow
410:43 warning 'appleSession' is already declared in the upper scope on line 19 column 2 no-shadow
456:8 warning 'extraData' is already declared in the upper scope on line 11 column 2 no-shadow
/src/repo/modules/ext.donationInterface.donorPortal/components/ActiveRecurringContribution.vue
16:7 warning 'v-html' directive can lead to XSS attack vue/no-v-html
/src/repo/modules/ext.donationInterface.donorPortal/components/DonationsHistory.vue
64:3 warning Prop "annual_fund_donations" is not in camelCase vue/prop-name-casing
71:3 warning Prop "endowment_donations" is not in camelCase vue/prop-name-casing
/src/repo/modules/ext.donationInterface.donorPortal/components/DonationsListTable.vue
31:3 warning Prop "donations_list" is not in camelCase vue/prop-name-casing
41:11 warning All possible message keys should be documented. See https://w.wiki/4r9a for details mediawiki/msg-doc
/src/repo/modules/ext.donationInterface.donorPortal/components/FooterComponent.vue
4:36 warning 'v-html' directive can lead to XSS attack vue/no-v-html
5:35 warning 'v-html' directive can lead to XSS attack vue/no-v-html
6:33 warning 'v-html' directive can lead to XSS attack vue/no-v-html
/src/repo/modules/ext.donationInterface.donorPortal/components/RecurringContributionCancelSuccess.vue
33:11 warning All possible message keys should be documented. See https://w.wiki/4r9a for details mediawiki/msg-doc
/src/repo/modules/ext.donationInterface.donorPortal/views/LoginView.vue
30:7 warning 'v-html' directive can lead to XSS attack vue/no-v-html
57:17 warning 'v-html' directive can lead to XSS attack vue/no-v-html
/src/repo/modules/iframe.liberator.js
1:10 warning 'self' is already defined as a built-in global variable no-redeclare
/src/repo/modules/js/ext.donationInterface.applePayHelper.js
4:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
5:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
15:1 warning Missing JSDoc @param "extraData" type jsdoc/require-param-type
16:1 warning Missing JSDoc @param "billingContact" type jsdoc/require-param-type
17:1 warning Missing JSDoc @param "shippingContact" type jsdoc/require-param-type
/src/repo/modules/js/ext.donationInterface.employerAutoComplete.js
28:21 warning Prefer .then to .done no-jquery/no-done-fail
/src/repo/modules/js/ext.donationInterface.errorLog.js
16:3 warning 'postdata' is never reassigned. Use 'const' instead prefer-const
/src/repo/modules/js/ext.donationInterface.forms.js
4:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
5:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
74:27 warning Selector extensions are not allowed no-jquery/no-sizzle
90:12 warning '$element' is never reassigned. Use 'const' instead prefer-const
105:1 warning The type 'result' is undefined jsdoc/no-undefined-types
127:3 warning 'sendData' is never reassigned. Use 'const' instead prefer-const
163:4 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
263:8 warning Selector extensions are not allowed no-jquery/no-sizzle
/src/repo/modules/js/ext.donationInterface.jaVariant02.js
8:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
9:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
/src/repo/modules/js/ext.donationInterface.monthlyConvert.js
2:6 warning 'mc' is never reassigned. Use 'const' instead prefer-const
6:3 warning 'tyUrl' is never reassigned. Use 'const' instead prefer-const
9:3 warning 'convertAmounts' is never reassigned. Use 'const' instead prefer-const
17:3 warning 'numAmounts' is never reassigned. Use 'const' instead prefer-const
26:49 warning 'currency' is already declared in the upper scope on line 3 column 3 no-shadow
34:39 warning 'currency' is already declared in the upper scope on line 3 column 3 no-shadow
103:51 warning 'currency' is already declared in the upper scope on line 3 column 3 no-shadow
104:7 warning 'rates' is never reassigned. Use 'const' instead prefer-const
105:4 warning 'amountRules' is never reassigned. Use 'const' instead prefer-const
107:4 warning '$smallAmountMessage' is never reassigned. Use 'const' instead prefer-const
117:3 warning 'formattedMin' is never reassigned. Use 'const' instead prefer-const
133:4 warning 'locale' is never reassigned. Use 'const' instead prefer-const
136:3 warning 'presetAmount' is never reassigned. Use 'const' instead prefer-const
/src/repo/modules/js/ext.donationInterface.monthlyConvertAnnual.js
3:7 warning 'mc' is never reassigned. Use 'const' instead prefer-const
3:31 warning 'originalGetSendData' is never reassigned. Use 'const' instead prefer-const
4:4 warning 'originalAmount' is never reassigned. Use 'const' instead prefer-const
5:4 warning '$otherAmountMonthlyInput' is never reassigned. Use 'const' instead prefer-const
5:62 warning '$otherAmountAnnualInput' is never reassigned. Use 'const' instead prefer-const
6:4 warning '$otherMonthlySubmit' is never reassigned. Use 'const' instead prefer-const
6:60 warning '$otherAnnualSubmit' is never reassigned. Use 'const' instead prefer-const
7:4 warning '$smallAmountMessage' is never reassigned. Use 'const' instead prefer-const
15:3 warning 'originalAmountFormatted' is never reassigned. Use 'const' instead prefer-const
/src/repo/modules/js/ext.donationInterface.monthlyConvertMultiplier.js
3:7 warning 'mc' is never reassigned. Use 'const' instead prefer-const
4:3 warning 'originalAmount' is never reassigned. Use 'const' instead prefer-const
/src/repo/modules/js/ext.donationInterface.monthlyConvert_011.js
3:7 warning 'mc' is never reassigned. Use 'const' instead prefer-const
4:4 warning 'locale' is never reassigned. Use 'const' instead prefer-const
5:3 warning 'originalAmount' is never reassigned. Use 'const' instead prefer-const
6:3 warning 'currency' is never reassigned. Use 'const' instead prefer-const
7:3 warning 'presetAmount' is never reassigned. Use 'const' instead prefer-const
8:3 warning 'formattedAsk' is never reassigned. Use 'const' instead prefer-const
/src/repo/modules/js/ext.donationInterface.recurUpgrade.js
3:7 warning '$submitButton' is never reassigned. Use 'const' instead prefer-const
4:4 warning '$amountField' is never reassigned. Use 'const' instead prefer-const
5:4 warning '$otherAmountField' is never reassigned. Use 'const' instead prefer-const
6:4 warning '$totalMessage' is never reassigned. Use 'const' instead prefer-const
7:4 warning '$newTotalAmount' is never reassigned. Use 'const' instead prefer-const
8:4 warning '$form' is never reassigned. Use 'const' instead prefer-const
9:4 warning 'originalAmount' is never reassigned. Use 'const' instead prefer-const
10:4 warning 'currency' is never reassigned. Use 'const' instead prefer-const
11:4 warning 'maximum' is never reassigned. Use 'const' instead prefer-const
12:4 warning 'nextDateFormatted' is never reassigned. Use 'const' instead prefer-const
14:4 warning 'preSelectAmount' is never reassigned. Use 'const' instead prefer-const
38:4 warning 'valueIsValid' is never reassigned. Use 'const' instead prefer-const
/src/repo/modules/js/ext.donationInterface.validation.js
7:1 warning Missing JSDoc @param "$" type jsdoc/require-param-type
8:1 warning Missing JSDoc @param "mw" type jsdoc/require-param-type
11:6 warning 'di' is never reassigned. Use 'const' instead prefer-const
13:3 warning 'mcDomains' is never reassigned. Use 'const' instead prefer-const
33:3 warning 'multiCountrySubdomains' is never reassigned. Use 'const' instead prefer-const
34:3 warning 'countryTlds' is never reassigned. Use 'const' instead prefer-const
40:26 warning 'i' is already declared in the upper scope on line 39 column 36 no-shadow
/src/repo/modules/validate_input.js
1:1 warning Missing JSDoc @return declaration jsdoc/require-returns
9:3 warning 'rates' is never reassigned. Use 'const' instead prefer-const
10:3 warning 'amountRules' is never reassigned. Use 'const' instead prefer-const
14:3 warning '$amountMsg' is never reassigned. Use 'const' instead prefer-const
15:3 warning 'threeDecimalCurrencies' is never reassigned. Use 'const' instead prefer-const
86:3 warning 'invalids' is never reassigned. Use 'const' instead prefer-const
87:3 warning 'rules' is never reassigned. Use 'const' instead prefer-const
105:27 warning 'value' is already declared in the upper scope on line 82 column 6 no-shadow
107:14 warning All possible message keys should be documented. See https://w.wiki/4r9a for details mediawiki/msg-doc
113:23 warning 'i' is already declared in the upper scope on line 85 column 3 no-shadow
145:2 warning 'countryField' is never reassigned. Use 'const' instead prefer-const
168:2 warning 'emailAdd' is never reassigned. Use 'const' instead prefer-const
/src/repo/paypal_ec_gateway/forms/js/paypal.js
2:6 warning 'di' is never reassigned. Use 'const' instead prefer-const
3:3 warning 'rules' is never reassigned. Use 'const' instead prefer-const
/src/repo/tests/jest/components/inactive_recurring_contribution.test.js
37:31 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/tests/jest/views/cancel-donations.test.js
5:34 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
/src/repo/tests/jest/views/pause-donations.test.js
5:34 warning ES2015 'Object.assign' method is forbidden es-x/no-object-assign
✖ 162 problems (0 errors, 162 warnings)
Running "stylelint:all" (stylelint) task
>> Linted 17 files without errors
Running "banana:DonationInterface" (banana) task
>> 10 message directories checked.
Done.
> test:unit
> jest
----------------------------------------------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------------------------------------------|---------|----------|---------|---------|-------------------
All files | 96.57 | 92.15 | 91.79 | 96.55 |
ext.donationInterface.donorPortal | 93.75 | 83.33 | 100 | 93.75 |
router.js | 93.75 | 83.33 | 100 | 93.75 | 34
ext.donationInterface.donorPortal/components | 96.75 | 97.22 | 90.1 | 96.75 |
ActiveRecurringContribution.vue | 100 | 100 | 100 | 100 |
App.vue | 100 | 100 | 100 | 100 |
DonationsHistory.vue | 93.54 | 100 | 75 | 93.54 | 14-21
DonationsListTable.vue | 93.33 | 75 | 100 | 93.33 | 14
DonorContactDetails.vue | 100 | 100 | 100 | 100 |
ErrorComponent.vue | 100 | 100 | 100 | 100 |
FooterComponent.vue | 100 | 100 | 100 | 100 |
GreetingComponent.vue | 100 | 100 | 100 | 100 |
Header.vue | 100 | 100 | 100 | 100 |
InactiveRecurringContribution.vue | 100 | 100 | 100 | 100 |
OnetimeContribution.vue | 100 | 100 | 100 | 100 |
RadioButtonInput.vue | 93.75 | 100 | 75 | 93.75 | 57
RecurringContributionCancelAltOptionContainer.vue | 100 | 100 | 100 | 100 |
RecurringContributionCancelConfirmation.vue | 97.14 | 100 | 91.66 | 97.14 | 22
RecurringContributionCancelForm.vue | 92.68 | 100 | 85 | 92.68 | 23,51,54
RecurringContributionCancelSuccess.vue | 94.11 | 50 | 100 | 94.11 | 21
RecurringContributionPauseForm.vue | 96.42 | 100 | 87.5 | 96.42 | 22
RecurringContributionPauseSuccess.vue | 92.85 | 100 | 75 | 92.85 | 17
RecurringContributionSummary.vue | 100 | 100 | 100 | 100 |
ext.donationInterface.donorPortal/views | 96.48 | 88 | 95.23 | 96.44 |
AmountDowngrade.vue | 87.5 | 100 | 0 | 87.5 | 15
AnnualConversion.vue | 87.5 | 100 | 0 | 87.5 | 15
CancelDonations.vue | 98.36 | 85.71 | 100 | 98.33 | 31
Home.vue | 97.22 | 90.32 | 100 | 97.22 | 43
LoginView.vue | 95.45 | 90.9 | 100 | 95.45 | 37,45
PauseDonations.vue | 97.61 | 75 | 100 | 97.56 | 26
----------------------------------------------------|---------|----------|---------|---------|-------------------
--- end ---
{}
{}
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
[DNM] there are no updates
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpr0ki372_
--- stdout ---
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
--- end ---