mediawiki/extensions/GrowthExperiments: main (log #320655)

sourcepatches

This run took 150 seconds.

From ceb7a5c1958a1e39fe1fcfcd1ae78357c1ffd40c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 15 Jun 2021 08:05:54 +0000
Subject: [PATCH] build: Updating normalize-url to 4.5.1

* https://npmjs.com/advisories/1755 (CVE-2021-33502)

Change-Id: I0e274b8941b9631397f2092c6586ec3853e1e7c9
---
 package-lock.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 8b3d04a..ab985d1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6054,9 +6054,9 @@
 			"dev": true
 		},
 		"normalize-url": {
-			"version": "4.5.0",
-			"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
-			"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
+			"version": "4.5.1",
+			"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
+			"integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==",
 			"dev": true
 		},
 		"nth-check": {
-- 
2.20.1

$ date
Tue Jun 15 08:03:30 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-GrowthExperiments.git repo --depth=1 -b master
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
09ad12e74c9a158231218f475d33665d097105cd refs/heads/master

$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: Support for Composer 1 is deprecated and some packages will not be available. You should upgrade to Composer 2. See https://blog.packagist.com/deprecating-composer-1-support/
Updating dependencies (including require-dev)
Package operations: 32 installs, 0 updates, 0 removals
  - Installing squizlabs/php_codesniffer (3.6.0): Loading from cache
  - Installing composer/spdx-licenses (1.5.5): Loading from cache
  - Installing composer/semver (3.2.5): Loading from cache
  - Installing mediawiki/mediawiki-codesniffer (v36.0.0): Loading from cache
  - Installing symfony/polyfill-php80 (v1.23.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Loading from cache
  - Installing symfony/polyfill-intl-grapheme (v1.23.0): Loading from cache
  - Installing symfony/polyfill-ctype (v1.23.0): Loading from cache
  - Installing symfony/string (v5.3.0): Loading from cache
  - Installing psr/container (1.1.1): Loading from cache
  - Installing symfony/service-contracts (v2.4.0): Loading from cache
  - Installing symfony/polyfill-php73 (v1.23.0): Loading from cache
  - Installing symfony/deprecation-contracts (v2.4.0): Loading from cache
  - Installing symfony/console (v5.3.0): Loading from cache
  - Installing psr/log (1.1.4): Loading from cache
  - Installing sabre/event (5.1.2): Loading from cache
  - Installing netresearch/jsonmapper (v3.1.1): Loading from cache
  - Installing microsoft/tolerant-php-parser (v0.0.23): Loading from cache
  - Installing phpdocumentor/reflection-common (2.2.0): Loading from cache
  - Installing webmozart/assert (1.10.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (5.2.2): Loading from cache
  - Installing felixfbecker/advanced-json-rpc (v3.2.1): Loading from cache
  - Installing composer/xdebug-handler (1.4.6): Loading from cache
  - Installing phan/phan (3.2.6): Loading from cache
  - Installing mediawiki/phan-taint-check-plugin (3.2.1): Loading from cache
  - Installing mediawiki/mediawiki-phan-config (0.10.6): Loading from cache
  - Installing mediawiki/minus-x (1.1.1): Loading from cache
  - Installing php-parallel-lint/php-console-color (v0.3): Loading from cache
  - Installing php-parallel-lint/php-console-highlighter (v0.5): Loading from cache
  - Installing php-parallel-lint/php-parallel-lint (v1.3.0): Loading from cache
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
symfony/console suggests installing symfony/process
phan/phan suggests installing ext-ast (Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed, 1.0.8+ is recommended.)
Writing lock file
Generating autoload files
13 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Attempting to npm audit fix
$ npm audit fix --only=dev

> fibers@4.0.3 install /src/repo/node_modules/fibers
> node build.js || nodejs build.js

`linux-x64-64-glibc` exists; testing
Binary is fine; exiting

> core-js@3.10.1 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!

The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: 
> https://opencollective.com/core-js 
> https://www.patreon.com/zloirock 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> ejs@3.1.3 postinstall /src/repo/node_modules/ejs
> node --harmony ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 977 packages from 700 contributors in 20.79s

108 packages are looking for funding
  run `npm fund` for details

fixed 4 of 12 vulnerabilities in 979 scanned packages
  8 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

up to date in 8.105s

108 packages are looking for funding
  run `npm fund` for details

fixed 0 of 8 vulnerabilities in 979 scanned packages
  8 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

up to date in 5.17s

108 packages are looking for funding
  run `npm fund` for details

fixed 0 of 8 vulnerabilities in 979 scanned packages
  8 vulnerabilities required manual review and could not be updated

$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

Verifying that tests still pass
$ npm ci
npm WARN prepare removing existing node_modules/ before installation

> ejs@3.1.3 postinstall /src/repo/node_modules/ejs
> node --harmony ./postinstall.js

Thank you for installing EJS: built with the Jake JavaScript build tool (https://jakejs.com/)


> core-js@3.10.1 postinstall /src/repo/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


> fibers@4.0.3 install /src/repo/node_modules/fibers
> node build.js || nodejs build.js

`linux-x64-64-glibc` exists; testing
Binary is fine; exiting
added 978 packages in 17.414s

$ npm test

> @ test /src/repo
> grunt test

Running "eslint:all" (eslint) task

/src/repo/modules/help/ext.growthExperiments.HelpPanelProcessDialog.js
   398:1  warning  This line has a length of 130. Maximum allowed is 100  max-len
   455:1  warning  This line has a length of 118. Maximum allowed is 100  max-len
  1009:1  warning  This line has a length of 107. Maximum allowed is 100  max-len

/src/repo/modules/help/ext.growthExperiments.HelpPanelProcessDialog.SuggestedEditsPanel.js
  85:1  warning  This line has a length of 104. Maximum allowed is 100  max-len

/src/repo/modules/help/ext.growthExperiments.HelpPanelProcessDialog.SwitchEditorPanel.js
  45:1  warning  This line has a length of 103. Maximum allowed is 100  max-len
  64:1  warning  This line has a length of 109. Maximum allowed is 100  max-len
  65:1  warning  This line has a length of 105. Maximum allowed is 100  max-len

/src/repo/modules/help/ext.growthExperiments.PostEdit.js
   46:1  warning  This line has a length of 108. Maximum allowed is 100  max-len
  153:1  warning  This line has a length of 101. Maximum allowed is 100  max-len

/src/repo/modules/help/ext.growthExperiments.PostEditDialog.js
  44:1  warning  This line has a length of 103. Maximum allowed is 100  max-len

/src/repo/modules/help/ext.growthExperiments.PostEditPanel.js
   15:1  warning  This line has a length of 104. Maximum allowed is 100  max-len
   16:1  warning  This line has a length of 105. Maximum allowed is 100  max-len
  181:1  warning  This line has a length of 102. Maximum allowed is 100  max-len

/src/repo/modules/helppanel/ext.growthExperiments.HelpPanel.cta.js
   45:1  warning  This line has a length of 103. Maximum allowed is 100  max-len
   47:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
  292:1  warning  This line has a length of 104. Maximum allowed is 100  max-len

/src/repo/modules/homepage/addlink/AddLinkArticleTarget.js
   83:1  warning  This line has a length of 103. Maximum allowed is 100  max-len
  209:1  warning  This line has a length of 103. Maximum allowed is 100  max-len
  221:1  warning  This line has a length of 101. Maximum allowed is 100  max-len
  432:1  warning  This line has a length of 104. Maximum allowed is 100  max-len

/src/repo/modules/homepage/addlink/AddLinkOnboardingContent.js
  94:1  warning  This line has a length of 110. Maximum allowed is 100  max-len

/src/repo/modules/homepage/addlink/AddLinkOnboardingDialog.js
  11:1  warning  This line has a length of 103. Maximum allowed is 100    max-len
  11:0  warning  The type 'LinkSuggestionInteractionLogger' is undefined  jsdoc/no-undefined-types

/src/repo/modules/homepage/addlink/AddLinkSaveDialogMixin.js
  141:1  warning  This line has a length of 101. Maximum allowed is 100  max-len
  161:1  warning  This line has a length of 101. Maximum allowed is 100  max-len

/src/repo/modules/homepage/addlink/RecommendedLinkToolbarDialog.js
   29:1  warning  This line has a length of 106. Maximum allowed is 100  max-len
   37:1  warning  This line has a length of 114. Maximum allowed is 100  max-len
  303:1  warning  This line has a length of 112. Maximum allowed is 100  max-len

/src/repo/modules/homepage/addlink/RecommendedLinkToolbarDialogDesktop.js
  56:1  warning  This line has a length of 107. Maximum allowed is 100  max-len
  83:1  warning  This line has a length of 104. Maximum allowed is 100  max-len

/src/repo/modules/homepage/addlink/RecommendedLinkToolbarDialogMobile.js
  58:1  warning  This line has a length of 106. Maximum allowed is 100  max-len
  76:1  warning  This line has a length of 105. Maximum allowed is 100  max-len

/src/repo/modules/homepage/ext.growthExperiments.Homepage.Mobile.js
   17:1  warning  This line has a length of 111. Maximum allowed is 100  max-len
   18:1  warning  This line has a length of 101. Maximum allowed is 100  max-len
  190:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
  223:1  warning  This line has a length of 112. Maximum allowed is 100  max-len
  224:1  warning  This line has a length of 112. Maximum allowed is 100  max-len
  246:1  warning  This line has a length of 109. Maximum allowed is 100  max-len

/src/repo/modules/homepage/ext.growthExperiments.Homepage.MobileOverlay.js
  58:1  warning  This line has a length of 106. Maximum allowed is 100  max-len

/src/repo/modules/homepage/ext.growthExperiments.Homepage.StartEditingDialog.js
   20:1  warning  This line has a length of 109. Maximum allowed is 100  max-len
   21:1  warning  This line has a length of 113. Maximum allowed is 100  max-len
  316:1  warning  This line has a length of 101. Maximum allowed is 100  max-len
  345:1  warning  This line has a length of 117. Maximum allowed is 100  max-len
  471:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
  640:1  warning  This line has a length of 103. Maximum allowed is 100  max-len
  641:1  warning  This line has a length of 105. Maximum allowed is 100  max-len
  642:1  warning  This line has a length of 103. Maximum allowed is 100  max-len
  651:1  warning  This line has a length of 108. Maximum allowed is 100  max-len
  652:1  warning  This line has a length of 110. Maximum allowed is 100  max-len
  653:1  warning  This line has a length of 108. Maximum allowed is 100  max-len
  658:1  warning  This line has a length of 106. Maximum allowed is 100  max-len
  659:1  warning  This line has a length of 108. Maximum allowed is 100  max-len
  660:1  warning  This line has a length of 106. Maximum allowed is 100  max-len
  756:1  warning  This line has a length of 104. Maximum allowed is 100  max-len

/src/repo/modules/homepage/suggestededits/ext.growthExperiments.Homepage.GrowthTasksApi.js
   23:1  warning  This line has a length of 101. Maximum allowed is 100  max-len
   26:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
   44:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
   47:1  warning  This line has a length of 104. Maximum allowed is 100  max-len
   63:1  warning  This line has a length of 118. Maximum allowed is 100  max-len
  103:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
  221:1  warning  This line has a length of 113. Maximum allowed is 100  max-len
  229:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
  283:1  warning  This line has a length of 113. Maximum allowed is 100  max-len
  288:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
  289:1  warning  This line has a length of 110. Maximum allowed is 100  max-len
  350:1  warning  This line has a length of 107. Maximum allowed is 100  max-len

/src/repo/modules/homepage/suggestededits/ext.growthExperiments.Homepage.SuggestedEdits.js
  241:1  warning  This line has a length of 107. Maximum allowed is 100  max-len
  275:1  warning  This line has a length of 106. Maximum allowed is 100  max-len
  276:1  warning  This line has a length of 102. Maximum allowed is 100  max-len
  560:1  warning  This line has a length of 101. Maximum allowed is 100  max-len

/src/repo/modules/homepage/suggestededits/ext.growthExperiments.Homepage.SuggestedEdits.TaskExplanationWidget.js
  37:1  warning  This line has a length of 109. Maximum allowed is 100  max-len

/src/repo/modules/homepage/suggestededits/ext.growthExperiments.Homepage.TaskTypeSelectionWidget.js
  123:1  warning  This line has a length of 108. Maximum allowed is 100  max-len
  124:1  warning  This line has a length of 110. Maximum allowed is 100  max-len
  125:1  warning  This line has a length of 108. Maximum allowed is 100  max-len
  146:1  warning  This line has a length of 108. Maximum allowed is 100  max-len

/src/repo/modules/homepage/suggestededits/ext.growthExperiments.NewcomerTaskLogger.js
  60:1  warning  This line has a length of 107. Maximum allowed is 100  max-len

/src/repo/modules/homepage/suggestededits/ext.growthExperiments.SuggestedEditSession.js
  92:0  warning  The type 'bool' is undefined  jsdoc/no-undefined-types

/src/repo/modules/homepage/suggestededits/TaskTypesAbFilter.js
  11:0  warning  There must be a newline after the description of the JSDoc block  jsdoc/newline-after-description
  42:2  warning  Missing JSDoc @return declaration                                 jsdoc/require-returns
  44:0  warning  There must be a newline after the description of the JSDoc block  jsdoc/newline-after-description

/src/repo/modules/utils/ext.growthExperiments.Utils.js
  86:2  warning  Missing JSDoc @return declaration                      jsdoc/require-returns
  89:0  warning  Invalid JSDoc tag name "internal"                      jsdoc/check-tag-names
  96:1  warning  This line has a length of 104. Maximum allowed is 100  max-len

✖ 83 problems (0 errors, 83 warnings)
  0 errors and 2 warnings potentially fixable with the `--fix` option.


Running "banana:docs" (banana) task
>> 8 message directories checked.

Running "stylelint:all" (stylelint) task
>> Linted 41 files without errors

Done.

Upgrading n:normalize-url from 4.5.0 -> 4.5.1
$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

$ git add .

$ git commit -F /tmp/tmphdld03i7
[master ceb7a5c] build: Updating normalize-url to 4.5.1
 1 file changed, 3 insertions(+), 3 deletions(-)

$ git format-patch HEAD~1 --stdout
From ceb7a5c1958a1e39fe1fcfcd1ae78357c1ffd40c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 15 Jun 2021 08:05:54 +0000
Subject: [PATCH] build: Updating normalize-url to 4.5.1

* https://npmjs.com/advisories/1755 (CVE-2021-33502)

Change-Id: I0e274b8941b9631397f2092c6586ec3853e1e7c9
---
 package-lock.json | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 8b3d04a..ab985d1 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -6054,9 +6054,9 @@
 			"dev": true
 		},
 		"normalize-url": {
-			"version": "4.5.0",
-			"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
-			"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ==",
+			"version": "4.5.1",
+			"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.1.tgz",
+			"integrity": "sha512-9UZCFRHQdNrfTpGg8+1INIg93B6zE0aXMVFkw1WFwvO4SlZywU6aLg5Of0Ap/PgcbSw4LNxvMWXMeugwMCX0AA==",
 			"dev": true
 		},
 		"nth-check": {
-- 
2.20.1

Source code is licensed under the AGPL.