mediawiki/extensions/MediaUploader (main)

sourcepatches
From 45f89a74fe4b3a32c8cb3ea1bf8f6197515243b6 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 19 Jun 2021 08:37:48 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I018d0cd1b84d42f34d17ac34d97b3651c258c871
---
 package-lock.json | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 39e9eae..68523ee 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2082,9 +2082,9 @@
 			}
 		},
 		"glob-parent": {
-			"version": "5.1.0",
-			"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
-			"integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
+			"version": "5.1.2",
+			"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+			"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
 			"dev": true,
 			"requires": {
 				"is-glob": "^4.0.1"
@@ -3578,9 +3578,9 @@
 			"dev": true
 		},
 		"postcss": {
-			"version": "7.0.35",
-			"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",
-			"integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",
+			"version": "7.0.36",
+			"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz",
+			"integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==",
 			"dev": true,
 			"requires": {
 				"chalk": "^2.4.2",
@@ -4637,9 +4637,9 @@
 			}
 		},
 		"trim-newlines": {
-			"version": "3.0.0",
-			"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz",
-			"integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==",
+			"version": "3.0.1",
+			"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz",
+			"integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==",
 			"dev": true
 		},
 		"trough": {
-- 
2.20.1

$ date
Sat Jun 19 08:36:30 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-MediaUploader.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
021f6159f9ac799925e6aaa09e46aca37fc6b676 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: 34 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.2): 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.2): 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
  - Installing justinrainbow/json-schema (5.2.10): Loading from cache
  - Installing symfony/yaml (v5.3.2): 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
14 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 570 packages from 349 contributors in 25.06s

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

fixed 12 of 12 vulnerabilities in 570 scanned packages

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

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

fixed 0 of 0 vulnerabilities in 570 scanned packages

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

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

fixed 0 of 0 vulnerabilities in 570 scanned packages

$ 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

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

added 570 packages in 10.273s

$ npm test

> @ test /src/repo
> grunt test

Running "eslint:all" (eslint) task

/src/repo/resources/controller/uw.controller.Details.js
  247:51  warning  'i' is already declared in the upper scope on line 237 column 7          no-shadow
  247:54  warning  'warnings' is already declared in the upper scope on line 236 column 66  no-shadow

/src/repo/resources/controller/uw.controller.Step.js
  23:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/deed/uw.deed.OwnWork.js
  110:4  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  117:4  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/details/uw.DateDetailsWidget.js
  147:20  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  173:70  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  176:70  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  179:70  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/details/uw.LanguageDropdownWidget.js
  14:53  warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details  mediawiki/class-doc

/src/repo/resources/details/uw.MultipleLanguageInputWidget.js
    8:0   warning  Invalid JSDoc tag name "mixins"                                                     jsdoc/check-tag-names
  181:10  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/details/uw.TitleDetailsWidget.js
  134:15  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  193:22  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/details/uw.UlsWidget.js
  33:4  warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details  mediawiki/class-doc

/src/repo/resources/jquery.arrowSteps/jquery.arrowSteps.js
  88:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/mw.DestinationChecker.js
  11:3  warning  Found more than one @return declaration  jsdoc/require-returns
  11:3  warning  Found more than one @return declaration  jsdoc/require-returns-check
  34:3  warning  Found more than one @return declaration  jsdoc/require-returns
  34:3  warning  Found more than one @return declaration  jsdoc/require-returns-check
  85:3  warning  Found more than one @return declaration  jsdoc/require-returns
  85:3  warning  Found more than one @return declaration  jsdoc/require-returns-check

/src/repo/resources/mw.FlickrChecker.js
  213:27  warning  'data' is already declared in the upper scope on line 206 column 25  no-shadow
  297:58  warning  'data' is already declared in the upper scope on line 286 column 25  no-shadow

/src/repo/resources/mw.UploadWizard.js
  94:25  warning  'steps' is already declared in the upper scope on line 62 column 5  no-shadow

/src/repo/resources/mw.UploadWizardDeedChooser.js
  27:14  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  30:22  warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details   mediawiki/class-doc

/src/repo/resources/mw.UploadWizardDetails.js
  437:10  warning  'matches' is already declared in the upper scope on line 414 column 42  no-shadow

/src/repo/resources/mw.UploadWizardLicenseInput.js
   60:8   warning  'group' is already declared in the upper scope on line 19 column 4                  no-shadow
  214:39  warning  'errors' is already declared in the upper scope on line 212 column 5                no-shadow
  215:20  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  253:26  warning  'errors' is already declared in the upper scope on line 212 column 5                no-shadow

/src/repo/resources/mw.UploadWizardPage.js
  19:3  warning  Unused eslint-disable directive (no problems were reported from 'compat/compat')

/src/repo/resources/mw.UploadWizardUpload.js
  20:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/mw.UploadWizardUploadInterface.js
    6:0  warning  Invalid JSDoc tag name "mixins"                                                     jsdoc/check-tag-names
  101:3  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/transports/mw.FormDataTransport.js
    7:0   warning  Invalid JSDoc tag name "mixins"                                       jsdoc/check-tag-names
  165:17  warning  'offset' is already declared in the upper scope on line 155 column 4  no-shadow

/src/repo/resources/ui/steps/uw.ui.Thanks.js
  261:35  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  269:35  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  296:4   warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details   mediawiki/class-doc

/src/repo/resources/ui/steps/uw.ui.Upload.js
  260:39  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  265:33  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/ui/uw.ui.Step.js
  23:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/ui/uw.ui.Wizard.js
   23:0   warning  Invalid JSDoc tag name "mixins"                                                     jsdoc/check-tag-names
  141:25  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  146:32  warning  '$arrow' is already declared in the upper scope on line 138 column 8                no-shadow

/src/repo/resources/uw.ConcurrentQueue.js
  10:0  warning  Invalid JSDoc tag name "mixins"  jsdoc/check-tag-names

/src/repo/resources/uw.CopyMetadataWidget.js
  30:23  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/uw.LicenseGroup.js
   82:35  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
   85:38  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc
  138:39  warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details   mediawiki/class-doc
  172:47  warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details   mediawiki/class-doc
  349:20  warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details   mediawiki/class-doc
  353:12  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

/src/repo/resources/uw.ValidationMessageElement.js
  90:15  warning  All possible CSS classes should be documented. See https://w.wiki/PS2 for details  mediawiki/class-doc

/src/repo/resources/uw.units.js
  21:11  warning  All possible message keys should be documented. See https://w.wiki/PRw for details  mediawiki/msg-doc

✖ 57 problems (0 errors, 57 warnings)


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

Running "banana:MediaUploader" (banana) task
>> 2 message directories checked.

Done.

Upgrading n:postcss from 7.0.35 -> 7.0.36
Upgrading n:glob-parent from 5.1.0 -> 5.1.2
Upgrading n:trim-newlines from 3.0.0 -> 3.0.1
$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

$ git add .

$ git commit -F /tmp/tmpvyml09ig
[master 45f89a7] build: Updating npm dependencies
 1 file changed, 9 insertions(+), 9 deletions(-)

$ git format-patch HEAD~1 --stdout
From 45f89a74fe4b3a32c8cb3ea1bf8f6197515243b6 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 19 Jun 2021 08:37:48 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* postcss: 7.0.35 → 7.0.36
  * https://npmjs.com/advisories/1693 (CVE-2021-23368)
* glob-parent: 5.1.0 → 5.1.2
  * https://npmjs.com/advisories/1751 (CVE-2020-28469)
* trim-newlines: 3.0.0 → 3.0.1
  * https://npmjs.com/advisories/1753 (CVE-2021-33623)

Change-Id: I018d0cd1b84d42f34d17ac34d97b3651c258c871
---
 package-lock.json | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 39e9eae..68523ee 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -2082,9 +2082,9 @@
 			}
 		},
 		"glob-parent": {
-			"version": "5.1.0",
-			"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
-			"integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
+			"version": "5.1.2",
+			"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+			"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
 			"dev": true,
 			"requires": {
 				"is-glob": "^4.0.1"
@@ -3578,9 +3578,9 @@
 			"dev": true
 		},
 		"postcss": {
-			"version": "7.0.35",
-			"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz",
-			"integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==",
+			"version": "7.0.36",
+			"resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz",
+			"integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==",
 			"dev": true,
 			"requires": {
 				"chalk": "^2.4.2",
@@ -4637,9 +4637,9 @@
 			}
 		},
 		"trim-newlines": {
-			"version": "3.0.0",
-			"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.0.tgz",
-			"integrity": "sha512-C4+gOpvmxaSMKuEf9Qc134F1ZuOHVXKRbtEflf4NTtuuJDEIJ9p5PXsalL8SkeRw+qit1Mo+yuvMPAKwWg/1hA==",
+			"version": "3.0.1",
+			"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz",
+			"integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==",
 			"dev": true
 		},
 		"trough": {
-- 
2.20.1

composer dependencies

Dependencies
Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.