mediawiki/extensions/TEI (master)

sourcepatches
$ date
Thu Mar  4 06:52:09 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-TEI.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
69c68abf3b1bf2df3d54a4482a205034057c0a4d 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: 32 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.10.0): Loading from cache
  - Installing squizlabs/php_codesniffer (3.5.8): 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 (v35.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.3): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/service-contracts (v2.2.0): Loading from cache
  - Installing symfony/polyfill-php73 (v1.22.1): Loading from cache
  - Installing symfony/console (v5.2.3): Loading from cache
  - Installing psr/log (1.1.3): 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.9.1): 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.5): 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.0): 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
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!

Upgrading n:eslint-config-wikimedia from 0.17.0 -> 0.18.1
$ npm install

> core-js@3.9.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 677 packages from 345 contributors and audited 677 packages in 121.225s

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

found 0 vulnerabilities


$ npm update eslint -depth 10
+ eslint@7.21.0
added 17 packages from 9 contributors, removed 12 packages, updated 15 packages, moved 1 package and audited 682 packages in 62.728s

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

found 0 vulnerabilities


$ npm install grunt-eslint@23.0.0 --save-exact
+ grunt-eslint@23.0.0
updated 3 packages and audited 682 packages in 63.307s

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

found 0 vulnerabilities


$ ./node_modules/.bin/eslint i18n/de.json i18n/es.json i18n/it.json i18n/lb.json modules/lib/codemirror/xml-hint.js i18n/ar.json package-lock.json modules/ve/ui/MWEditModeSourceTool.js i18n/mk.json modules/lib/codemirror/lint.js i18n/qqq.json i18n/fr.json modules/ve/init/ve.init.tei.TEIPageEditDialog.js modules/edit/EncapsulationTool.js i18n/nl.json i18n/en-gb.json modules/edit/MWEditModeSourceTool.js i18n/en.json i18n/sv.json modules/ve/init/ve.init.tei.TEIPageTarget.init.js composer.json modules/ve/init/ve.init.tei.TEIPageTarget.init.mw.js data/mw_tei_json_definition.json modules/ve/init/ve.init.tei.TEIPageTarget.js i18n/bn.json modules/edit/MWEditModeVisualTool.js modules/lib/codemirror/show-hint.js i18n/fi.json Gruntfile.js i18n/zh-hans.json modules/ve/ui/MWEditModeVisualTool.js modules/ve/init/ve.init.tei.TEIContentConverter.js i18n/roa-tara.json modules/edit/Editor.js package.json i18n/zh-hant.json i18n/pt-br.json i18n/ko.json i18n/nb.json i18n/ca.json modules/edit/teiEditor.js i18n/da.json i18n/tr.json i18n/uk.json modules/ve/init/ve.init.tei.js modules/edit/teiEditor.init.js i18n/pt.json extension.json i18n/ia.json --fix

Oops! Something went wrong! :(

ESLint: 7.21.0

TypeError: Cannot read property 'type' of null
Occurred while linting /src/repo/data/mw_tei_json_definition.json:1
    at Object.requiresCommentList (/src/repo/node_modules/eslint-plugin-mediawiki/src/utils.js:67:17)
    at ObjectExpression (/src/repo/node_modules/eslint-plugin-mediawiki/src/rules/class-doc.js:41:16)
    at listeners.(anonymous function).forEach.listener (/src/repo/node_modules/eslint/lib/linter/safe-emitter.js:45:58)
    at Array.forEach (<anonymous>)
    at Object.emit (/src/repo/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:256:26)
    at NodeEventGenerator.applySelectors (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:285:22)
    at NodeEventGenerator.enterNode (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:299:14)
    at CodePathAnalyzer.enterNode (/src/repo/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at nodeQueue.forEach.traversalInfo (/src/repo/node_modules/eslint/lib/linter/linter.js:954:32)

$ ./node_modules/.bin/eslint i18n/de.json i18n/es.json i18n/it.json i18n/lb.json modules/lib/codemirror/xml-hint.js i18n/ar.json package-lock.json modules/ve/ui/MWEditModeSourceTool.js i18n/mk.json modules/lib/codemirror/lint.js i18n/qqq.json i18n/fr.json modules/ve/init/ve.init.tei.TEIPageEditDialog.js modules/edit/EncapsulationTool.js i18n/nl.json i18n/en-gb.json modules/edit/MWEditModeSourceTool.js i18n/en.json i18n/sv.json modules/ve/init/ve.init.tei.TEIPageTarget.init.js composer.json modules/ve/init/ve.init.tei.TEIPageTarget.init.mw.js data/mw_tei_json_definition.json modules/ve/init/ve.init.tei.TEIPageTarget.js i18n/bn.json modules/edit/MWEditModeVisualTool.js modules/lib/codemirror/show-hint.js i18n/fi.json Gruntfile.js i18n/zh-hans.json modules/ve/ui/MWEditModeVisualTool.js modules/ve/init/ve.init.tei.TEIContentConverter.js i18n/roa-tara.json modules/edit/Editor.js package.json i18n/zh-hant.json i18n/pt-br.json i18n/ko.json i18n/nb.json i18n/ca.json modules/edit/teiEditor.js i18n/da.json i18n/tr.json i18n/uk.json modules/ve/init/ve.init.tei.js modules/edit/teiEditor.init.js i18n/pt.json extension.json i18n/ia.json -f json

Oops! Something went wrong! :(

ESLint: 7.21.0

TypeError: Cannot read property 'type' of null
Occurred while linting /src/repo/data/mw_tei_json_definition.json:1
    at Object.requiresCommentList (/src/repo/node_modules/eslint-plugin-mediawiki/src/utils.js:67:17)
    at ObjectExpression (/src/repo/node_modules/eslint-plugin-mediawiki/src/rules/class-doc.js:41:16)
    at listeners.(anonymous function).forEach.listener (/src/repo/node_modules/eslint/lib/linter/safe-emitter.js:45:58)
    at Array.forEach (<anonymous>)
    at Object.emit (/src/repo/node_modules/eslint/lib/linter/safe-emitter.js:45:38)
    at NodeEventGenerator.applySelector (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:256:26)
    at NodeEventGenerator.applySelectors (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:285:22)
    at NodeEventGenerator.enterNode (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:299:14)
    at CodePathAnalyzer.enterNode (/src/repo/node_modules/eslint/lib/linter/code-path-analysis/code-path-analyzer.js:711:23)
    at nodeQueue.forEach.traversalInfo (/src/repo/node_modules/eslint/lib/linter/linter.js:954:32)

Traceback (most recent call last):
  File "/venv/lib/python3.7/site-packages/libup-0.0.1-py3.7.egg/libup/ng.py", line 1188, in main
    libup.run(args.repo, args.output, args.branch)
  File "/venv/lib/python3.7/site-packages/libup-0.0.1-py3.7.egg/libup/ng.py", line 1130, in run
    self.npm_upgrade(plan)
  File "/venv/lib/python3.7/site-packages/libup-0.0.1-py3.7.egg/libup/ng.py", line 854, in npm_upgrade
    hook(update)
  File "/venv/lib/python3.7/site-packages/libup-0.0.1-py3.7.egg/libup/ng.py", line 937, in _handle_eslint
    './node_modules/.bin/eslint'] + files + ['-f', 'json'], ignore_returncode=True))
  File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)

composer dependencies

Dependencies
Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.