mediawiki/extensions/Spark (master)

sourcepatches
From 2ac33987bc42afed822173ddb6a4be9b0bd38e23 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Fri, 7 May 2021 19:48:40 +0000
Subject: [PATCH] build: Updating dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

composer:
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: I2f8e1bd1d0f2476b0d47e8fd3eecdb1cddc92cb5
---
 composer.json     |  2 +-
 package-lock.json | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/composer.json b/composer.json
index 4e31d7a..ea92fd6 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
 	"require-dev": {
 		"mediawiki/minus-x": "1.1.1",
 		"php-parallel-lint/php-console-highlighter": "0.5.0",
-		"php-parallel-lint/php-parallel-lint": "1.2.0"
+		"php-parallel-lint/php-parallel-lint": "1.3.0"
 	},
 	"scripts": {
 		"test": [
diff --git a/package-lock.json b/package-lock.json
index 72c33b4..9ab012f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1618,9 +1618,9 @@
 			},
 			"dependencies": {
 				"lodash": {
-					"version": "4.17.20",
-					"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
-					"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
+					"version": "4.17.21",
+					"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+					"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
 					"dev": true
 				}
 			}
@@ -1994,9 +1994,9 @@
 			}
 		},
 		"lodash": {
-			"version": "4.17.19",
-			"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
-			"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==",
+			"version": "4.17.21",
+			"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+			"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
 			"dev": true
 		},
 		"lodash.memoize": {
-- 
2.20.1

$ date
Fri May  7 19:47:48 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-Spark.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
13ac10cadcd06ce1b8b1f5e318729b04a1136bca 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: 14 installs, 0 updates, 0 removals
  - 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.6): 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.7): 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.2.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
symfony/console suggests installing psr/log (For using the console logger)
Writing lock file
Generating autoload files
9 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Upgrading c:php-parallel-lint/php-parallel-lint from 1.2.0 -> 1.3.0
$ composer update
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: 0 installs, 1 update, 0 removals
  - Updating php-parallel-lint/php-parallel-lint (v1.2.0 => v1.3.0): Loading from cache
Writing lock file
Generating autoload files
9 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
9 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

$ composer test
> parallel-lint . --exclude vendor --exclude node_modules
PHP 7.3.27 | 10 parallel jobs
....                                                         4/4 (100 %)


Checked 4 files in 0 seconds
No syntax error found
> minus-x check .
MinusX
======
Processing /src/repo...
.....................................................
All good!

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 344 packages from 242 contributors in 14.837s

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

fixed 5 of 5 vulnerabilities in 344 scanned packages

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 344 packages in 7.806s

$ npm test

> @ test /src/repo
> grunt test

Running "eslint:all" (eslint) task

/src/repo/rdf-spark/jquery.spark.js
   58:4   warning  Combine this with the previous 'var' statement                                      one-var
   58:4   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
   61:3   warning  Combine this with the previous 'var' statement                                      one-var
   61:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
   62:20  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
   64:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
   64:3   warning  Combine this with the previous 'var' statement                                      one-var
   69:4   warning  Prefer Array#forEach to $.each                                                      no-jquery/no-each-util
   74:5   warning  Combine this with the previous 'var' statement                                      one-var
   74:5   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
   75:5   warning  Prefer Array#forEach to $.each                                                      no-jquery/no-each-util
   75:65  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
   82:5   warning  'format' was used before it was defined                                             no-use-before-define
   82:30  warning  'reducer' was used before it was defined                                            no-use-before-define
   93:2   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
   94:31  warning  'data' is defined but never used                                                    no-unused-vars
   94:37  warning  'textStatus' is defined but never used                                              no-unused-vars
   95:5   warning  'format' was used before it was defined                                             no-use-before-define
   95:14  warning  'format' was used before it was defined                                             no-use-before-define
   95:41  warning  'format' was used before it was defined                                             no-use-before-define
   96:21  warning  'format' was used before it was defined                                             no-use-before-define
   98:4   warning  'format' is already declared in the upper scope on line 93 column 6                 no-shadow
   99:14  warning  Unnecessary escape character: \.                                                    no-useless-escape
   99:16  warning  Unnecessary escape character: \/                                                    no-useless-escape
  111:44  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
  113:2   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  113:2   warning  Combine this with the previous 'var' statement                                      one-var
  126:65  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
  127:62  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
  129:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  131:3   warning  Prefer Array#forEach to $.each                                                      no-jquery/no-each-util
  133:39  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
  137:3   warning  Combine this with the previous 'var' statement                                      one-var
  137:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  149:65  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
  150:62  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
  154:62  warning  'params' is defined but never used                                                  no-unused-vars
  156:3   warning  Prefer Array#forEach to $.each                                                      no-jquery/no-each-util
  156:31  warning  'item' is defined but never used                                                    no-unused-vars
  156:37  warning  'values' is defined but never used                                                  no-unused-vars
  166:2   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  166:2   warning  Combine this with the previous 'var' statement                                      one-var
  170:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  175:3   warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  175:3   warning  Combine this with the previous 'var' statement                                      one-var
  176:3   warning  Prefer Array#forEach to $.each                                                      no-jquery/no-each-util
  181:4   warning  Prefer Array#forEach to $.each                                                      no-jquery/no-each-util
  182:19  warning  Expected '===' and instead saw '=='                                                 eqeqeq
  188:10  warning  Prefer Array#indexOf to $.inArray                                                   no-jquery/no-in-array
  188:63  warning  Expected '===' and instead saw '=='                                                 eqeqeq
  201:2   warning  Global variable leak, declare the variable if it is intended to be local            no-implicit-globals
  201:2   warning  'spark_markup' is not defined                                                       no-undef
  201:2   warning  Identifier 'spark_markup' is not in camel case                                      camelcase
  209:4   warning  Prefer Array#forEach to $.each                                                      no-jquery/no-each-util
  230:10  warning  All 'var' declarations must be at the top of the function scope                     vars-on-top
  230:10  warning  Combine this with the previous 'var' statement                                      one-var
  232:1   warning  This line has a length of 104. Maximum allowed is 100                               max-len
  232:77  warning  Expected '===' and instead saw '=='                                                 eqeqeq
  242:19  warning  This line has 2 statements. Maximum allowed is 1                                    max-statements-per-line
  242:19  warning  'spark_markup' is not defined                                                       no-undef
  242:33  warning  Avoid queries which search the entire DOM. Keep DOM nodes in memory where possible  no-jquery/no-global-selector

✖ 61 problems (0 errors, 61 warnings)


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

Done.

Upgrading n:lodash from 4.17.19 -> 4.17.21
$ git add .

$ git commit -F /tmp/tmp2v4ozdee
[master 2ac3398] build: Updating dependencies
 2 files changed, 7 insertions(+), 7 deletions(-)

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

composer:
* php-parallel-lint/php-parallel-lint: 1.2.0 → 1.3.0

npm:
* lodash: 4.17.19 → 4.17.21
  * https://npmjs.com/advisories/1673 (CVE-2021-23337)

Change-Id: I2f8e1bd1d0f2476b0d47e8fd3eecdb1cddc92cb5
---
 composer.json     |  2 +-
 package-lock.json | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/composer.json b/composer.json
index 4e31d7a..ea92fd6 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
 	"require-dev": {
 		"mediawiki/minus-x": "1.1.1",
 		"php-parallel-lint/php-console-highlighter": "0.5.0",
-		"php-parallel-lint/php-parallel-lint": "1.2.0"
+		"php-parallel-lint/php-parallel-lint": "1.3.0"
 	},
 	"scripts": {
 		"test": [
diff --git a/package-lock.json b/package-lock.json
index 72c33b4..9ab012f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1618,9 +1618,9 @@
 			},
 			"dependencies": {
 				"lodash": {
-					"version": "4.17.20",
-					"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
-					"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
+					"version": "4.17.21",
+					"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+					"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
 					"dev": true
 				}
 			}
@@ -1994,9 +1994,9 @@
 			}
 		},
 		"lodash": {
-			"version": "4.17.19",
-			"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz",
-			"integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==",
+			"version": "4.17.21",
+			"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
+			"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
 			"dev": true
 		},
 		"lodash.memoize": {
-- 
2.20.1

composer dependencies

Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.