mediawiki/extensions/TEI (main)

sourcepatches
$ date
Thu Jun 10 19:53:56 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
fc47cb60762964c16ad23f61fb50427f242f0f94 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: 33 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.0): 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.0): 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
14 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.20.0
$ npm install

> core-js@3.14.0 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 -)

npm WARN notsup Unsupported engine for eslint-plugin-wdio@7.4.2: wanted: {"node":">=12.0.0"} (current: {"node":"10.24.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: eslint-plugin-wdio@7.4.2

added 578 packages from 334 contributors and audited 578 packages in 193.518s

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

found 14 vulnerabilities (13 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

$ npm update eslint -depth 10
+ eslint@7.28.0
added 20 packages from 10 contributors, removed 12 packages, updated 18 packages, moved 1 package and audited 586 packages in 87.295s

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

found 13 vulnerabilities (12 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

$ npm install grunt-eslint@23.0.0 --save-exact
+ grunt-eslint@23.0.0
removed 1 package, updated 4 packages and audited 585 packages in 92.822s

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

found 13 vulnerabilities (12 moderate, 1 high)
  run `npm audit fix` to fix them, or `npm audit` for details

$ package-lock-lint package-lock.json
0 issues found in: package-lock.json

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

Oops! Something went wrong! :(

ESLint: 7.28.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:293:26)
    at NodeEventGenerator.applySelectors (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:336: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:956:32)

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

Oops! Something went wrong! :(

ESLint: 7.28.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:293:26)
    at NodeEventGenerator.applySelectors (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:322:22)
    at NodeEventGenerator.enterNode (/src/repo/node_modules/eslint/lib/linter/node-event-generator.js:336: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:956:32)

Traceback (most recent call last):
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1318, 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 1257, in run
    self.npm_upgrade(plan)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 962, in npm_upgrade
    hook(update)
  File "/venv/lib/python3.7/site-packages/runner-0.1.0-py3.7.egg/runner/__init__.py", line 1046, 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.