mediawiki/extensions/BlueSpiceFlaggedRevsConnector (main)

sourcepatches
$ date
Sat Jun 19 06:42:27 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-BlueSpiceFlaggedRevsConnector.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
46ceba50f1ed8758a033ccdd7a4d5864bc615b3f 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: 20 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.11.0): Loading from cache
  - 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 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
symfony/console suggests installing psr/log (For using the console logger)
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

> 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 477 packages from 331 contributors in 23.092s

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

fixed 8 of 8 vulnerabilities in 477 scanned packages

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

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

fixed 0 of 0 vulnerabilities in 477 scanned packages

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

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

fixed 0 of 0 vulnerabilities in 477 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 477 packages in 8.911s

$ npm test

> @ test /src/repo
> grunt test

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

Running "eslint:src" (eslint) task

/src/repo/Gruntfile.js
  7:2  warning  All 'var' declarations must be at the top of the function scope  vars-on-top

/src/repo/resources/bluespice.flaggedRevsConnector.js
   9:2  warning  All 'var' declarations must be at the top of the function scope  vars-on-top
  34:7  warning  Unsupported method String.prototype.includes requires ES6        no-restricted-syntax

/src/repo/resources/bluespice.flaggedRevsConnector.pageassignmentintegration.js
  18:4  warning  All 'var' declarations must be at the top of the function scope  vars-on-top

/src/repo/resources/BS.FlaggedRevsConnector/dialog/Review.js
  29:3  warning  Combine this with the previous 'var' statement                   one-var
  29:3  warning  All 'var' declarations must be at the top of the function scope  vars-on-top
  33:4  warning  Identifier 'flag_accuracy' is not in camel case                  camelcase

/src/repo/resources/BS.FlaggedRevsConnector/flyout/Base.js
   36:4   warning  All 'var' declarations must be at the top of the function scope  vars-on-top
   36:4   warning  Combine this with the previous 'var' statement                   one-var
   44:14  warning  Prefer DOM building to parsing HTML literals                     no-jquery/no-parse-html-literal
   53:17  warning  Identifier 'resource_changes' is not in camel case               camelcase
   55:4   warning  All 'var' declarations must be at the top of the function scope  vars-on-top
   55:4   warning  Combine this with the previous 'var' statement                   one-var
   56:10  warning  Combine this with the previous 'var' statement                   one-var
   56:10  warning  All 'var' declarations must be at the top of the function scope  vars-on-top
   57:1   warning  This line has a length of 103. Maximum allowed is 100            max-len
   60:5   warning  Combine this with the previous 'var' statement                   one-var
   60:5   warning  All 'var' declarations must be at the top of the function scope  vars-on-top
   74:17  warning  Prefer DOM building to parsing HTML literals                     no-jquery/no-parse-html-literal
  109:4   warning  Identifier 'flag_accuracy' is not in camel case                  camelcase

/src/repo/resources/BS.FlaggedRevsConnector/grid/FlaggedPages.js
   21:9   warning  Combine this with the previous 'var' statement                             one-var
   21:9   warning  All 'var' declarations must be at the top of the function scope            vars-on-top
   55:15  warning  ES2017 'Object.values' method is forbidden                                 es/no-object-values
   55:15  warning  Object.values() is not supported in Safari 9.1, iOS Safari 9.0-9.2, IE 11  compat/compat
  113:4   warning  All 'var' declarations must be at the top of the function scope            vars-on-top
  140:10  warning  Combine this with the previous 'var' statement                             one-var
  140:10  warning  All 'var' declarations must be at the top of the function scope            vars-on-top
  141:5   warning  Combine this with the previous 'var' statement                             one-var
  141:5   warning  All 'var' declarations must be at the top of the function scope            vars-on-top

✖ 29 problems (0 errors, 29 warnings)


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

Running "banana:FRCFlaggedRevs" (banana) task
>> 2 messages lack documentation in qqq.json.
>> Message "bsfrc-revreview-editnotice" lacks documentation in qqq.json.
>> Message "bsfrc-copyrightwarning2" lacks documentation in qqq.json.
Warning: Task "banana:FRCFlaggedRevs" failed. Use --force to continue.

Aborted due to warnings.
npm ERR! Test failed.  See above for more details.

Traceback (most recent call last):
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1325, in main
    libup.run(args.repo, args.output, args.branch)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1270, in run
    self.npm_audit_fix(new_npm_audit)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 216, in npm_audit_fix
    self.check_call(['npm', 'test'])
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/shell2.py", line 40, in check_call
    res.check_returncode()
  File "/usr/lib/python3.7/subprocess.py", line 428, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command '['npm', 'test']' returned non-zero exit status 1.

composer dependencies

Dependencies
Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.