wikimedia/portals (main)

sourcepatches
$ date
Sat Nov  6 10:38:39 UTC 2021

$ git clone file:///srv/git/wikimedia-portals.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
Submodule 'prod' (https://gerrit.wikimedia.org/r/wikimedia/portals/deploy) registered for path 'prod'
Cloning into '/src/repo/prod'...
Submodule path 'prod': checked out 'ae1009042ab69b0ea76ce04463cb917416567f94'

$ grr init
Installed commit-msg hook.

$ git show-ref refs/heads/master
ca97d29916bcddd523ba7217208110de6bab825d refs/heads/master

Upgrading n:eslint-config-wikimedia from 0.17.0 -> 0.20.0
Upgrading n:stylelint-config-wikimedia from 0.10.3 -> 0.11.1
$ npm install

> iltorb@2.4.5 install /src/repo/node_modules/iltorb
> node ./scripts/install.js || node-gyp rebuild

info looking for cached prebuild @ /cache/_prebuilds/2a34dd-iltorb-v2.4.5-node-v64-linux-x64.tar.gz
info found cached prebuild 
info unpacking @ /cache/_prebuilds/2a34dd-iltorb-v2.4.5-node-v64-linux-x64.tar.gz
info unpack resolved to /src/repo/node_modules/iltorb/build/bindings/iltorb.node
info unpack required /src/repo/node_modules/iltorb/build/bindings/iltorb.node successfully
info install Successfully installed iltorb binary!

> phantomjs-prebuilt@2.1.16 install /src/repo/node_modules/phantomjs-prebuilt
> node install.js

PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving...

Received 22866K total.
Extracting tar contents (via spawned process)
Removing /src/repo/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1636195508817/phantomjs-2.1.1-linux-x86_64 -> /src/repo/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /src/repo/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs

> pre-commit@1.2.2 install /src/repo/node_modules/pre-commit
> node install.js


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


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


> core-js@3.19.1 postinstall /src/repo/node_modules/eslint-plugin-compat/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:
> https://opencollective.com/core-js 
> https://patreon.com/zloirock 
> https://paypal.me/zloirock 
> bitcoin: bc1qlea7544qtsmj2rayg0lthvza9fau63ux0fstcz 

Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)


> spawn-sync@1.0.15 postinstall /src/repo/node_modules/spawn-sync
> node postinstall

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
npm WARN notsup Unsupported engine for eslint-visitor-keys@3.0.0: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"10.24.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: eslint-visitor-keys@3.0.0
npm WARN notsup Unsupported engine for espree@9.0.0: wanted: {"node":"^12.22.0 || ^14.17.0 || >=16.0.0"} (current: {"node":"10.24.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: espree@9.0.0
npm WARN notsup Unsupported engine for stylelint-no-unsupported-browser-features@5.0.1: wanted: {"node":">=12"} (current: {"node":"10.24.0","npm":"6.14.5"})
npm WARN notsup Not compatible with your version of node/npm: stylelint-no-unsupported-browser-features@5.0.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/glob-watcher/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1858 packages from 1362 contributors and audited 1862 packages in 391.084s

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

found 66 vulnerabilities (1 low, 38 moderate, 24 high, 3 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

$ package-lock-lint package-lock.json
Checking package-lock.json

$ npm update eslint -depth 10
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.3 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/glob-watcher/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ eslint@7.32.0
added 11 packages from 11 contributors, removed 2 packages, updated 29 packages and audited 1871 packages in 139.667s

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

found 64 vulnerabilities (1 low, 36 moderate, 24 high, 3 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

$ package-lock-lint package-lock.json
Checking package-lock.json

$ ./node_modules/.bin/eslint . --fix

Oops! Something went wrong! :(

ESLint: 7.32.0

Error: ELOOP: too many symbolic links encountered, stat '/src/repo/src/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal'
    at Object.statSync (fs.js:855:3)
    at statSafeSync (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:122:19)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:436:55)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)

$ ./node_modules/.bin/eslint . -f json

Oops! Something went wrong! :(

ESLint: 7.32.0

Error: ELOOP: too many symbolic links encountered, stat '/src/repo/src/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal/wikipedia.org/assets/css/portal'
    at Object.statSync (fs.js:855:3)
    at statSafeSync (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:122:19)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:436:55)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator._iterateFilesRecursive (/src/repo/node_modules/eslint/lib/cli-engine/file-enumerator.js:492:33)
    at _iterateFilesRecursive.next (<anonymous>)

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

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.