mediawiki/extensions/PageTriage (main)

sourcepatches
From a17605a8282901d964a7a76223f95df72c61cb34 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 15 May 2021 13:43:05 +0000
Subject: [PATCH] build: Updating websocket-extensions to 0.1.4

* https://npmjs.com/advisories/1710 (CVE-2020-7662)

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

diff --git a/package-lock.json b/package-lock.json
index da47c55..e75ac1a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4778,9 +4778,9 @@
 			}
 		},
 		"websocket-extensions": {
-			"version": "0.1.3",
-			"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz",
-			"integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==",
+			"version": "0.1.4",
+			"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz",
+			"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==",
 			"dev": true
 		},
 		"which": {
-- 
2.20.1

$ date
Sat May 15 13:41:49 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-PageTriage.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
b54c0b0e7889b37ef03ef50a3b6aeea081f9bc06 refs/heads/master

$ composer install
Loading composer repositories with package information
Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2 is now available and you should upgrade. See https://getcomposer.org/2
Updating dependencies (including require-dev)
Package operations: 31 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.4): Loading from cache
  - Installing mediawiki/mediawiki-codesniffer (v36.0.0): Loading from cache
  - Installing symfony/polyfill-php80 (v1.22.1): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.22.1): Loading from cache
  - Installing symfony/polyfill-intl-normalizer (v1.22.1): Loading from cache
  - Installing symfony/polyfill-intl-grapheme (v1.22.1): Loading from cache
  - Installing symfony/polyfill-ctype (v1.22.1): Loading from cache
  - Installing symfony/string (v5.2.8): 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.22.1): Loading from cache
  - Installing symfony/console (v5.2.8): Loading from cache
  - Installing psr/log (1.1.4): Loading from cache
  - Installing sabre/event (5.1.2): Loading from cache
  - Installing netresearch/jsonmapper (v2.1.0): 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.0): 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
12 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

> 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 -)

added 562 packages from 349 contributors in 12.804s

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

fixed 1 of 8 vulnerabilities in 562 scanned packages
  7 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
up to date in 2.458s

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

fixed 0 of 7 vulnerabilities in 562 scanned packages
  7 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
up to date in 2.561s

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

fixed 0 of 7 vulnerabilities in 562 scanned packages
  7 vulnerabilities required manual review and could not be updated

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

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

added 562 packages in 9.426s

$ npm test

> PageTriage@0.2.1 test /src/repo
> grunt test

Running "eslint:all" (eslint) task

/src/repo/jsduck.external.js
  13:0  warning  The type 'jqXHR' is undefined                jsdoc/no-undefined-types
  32:0  warning  Invalid JSDoc tag name "mixins"              jsdoc/check-tag-names
  39:0  warning  Invalid JSDoc tag name "alternateClassName"  jsdoc/check-tag-names

/src/repo/modules/ext.pageTriage.util/models/ext.pageTriage.article.js
   66:14  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  344:0   warning  Invalid JSDoc tag name "TODO"                                                       jsdoc/check-tag-names

/src/repo/modules/ext.pageTriage.views.list/ext.pageTriage.listControlNav.js
  565:13  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  741:37  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  755:47  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  785:7   warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/modules/ext.pageTriage.views.list/ext.pageTriage.listView.js
   78:5   warning  'that' is already declared in the upper scope on line 5 column 6    no-shadow
  115:8   warning  'that' is already declared in the upper scope on line 5 column 6    no-shadow
  128:5   warning  'that' is already declared in the upper scope on line 5 column 6    no-shadow
  159:24  warning  'stats' is already declared in the upper scope on line 13 column 3  no-shadow

/src/repo/modules/ext.pageTriage.views.toolbar/articleInfo.js
  124:20  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  188:4   warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  190:4   warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/modules/ext.pageTriage.views.toolbar/delete.js
    8:24  warning  'DateWrapper' is already declared in the upper scope on line 3 column 5             no-shadow
  249:3   warning  Invalid loop. Its body allows only one iteration                                    no-unreachable-loop
  453:4   warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  540:8   warning  'param' is already declared in the upper scope on line 489 column 7                 no-shadow
  880:6   warning  Invalid loop. Its body allows only one iteration                                    no-unreachable-loop
  945:0   warning  The type 'Promise' is undefined                                                     jsdoc/no-undefined-types

/src/repo/modules/ext.pageTriage.views.toolbar/mark.js
   27:30  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  204:10  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  238:48  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  261:60  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/modules/ext.pageTriage.views.toolbar/tags.js
  339:4   warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  411:17  warning  'param' is already declared in the upper scope on line 366 column 7                 no-shadow

/src/repo/modules/ext.pageTriage.views.toolbar/ToolView.js
  177:30  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

✖ 29 problems (0 errors, 29 warnings)


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

Running "banana:all" (banana) task
>> 1 message directory checked.

Done.

Upgrading n:websocket-extensions from 0.1.3 -> 0.1.4
$ git add .

$ git commit -F /tmp/tmp8s1tqruw
[master a17605a] build: Updating websocket-extensions to 0.1.4
 1 file changed, 3 insertions(+), 3 deletions(-)

$ git format-patch HEAD~1 --stdout
From a17605a8282901d964a7a76223f95df72c61cb34 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 15 May 2021 13:43:05 +0000
Subject: [PATCH] build: Updating websocket-extensions to 0.1.4

* https://npmjs.com/advisories/1710 (CVE-2020-7662)

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

diff --git a/package-lock.json b/package-lock.json
index da47c55..e75ac1a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4778,9 +4778,9 @@
 			}
 		},
 		"websocket-extensions": {
-			"version": "0.1.3",
-			"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz",
-			"integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg==",
+			"version": "0.1.4",
+			"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz",
+			"integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==",
 			"dev": true
 		},
 		"which": {
-- 
2.20.1

composer dependencies

Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.