mediawiki/extensions/NearbyPages (master)

sourcepatches
$ date
Fri Mar  5 03:45:58 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-NearbyPages.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
e1bf2af3c3056463eb8c4c09143c00ae96681544 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: 31 installs, 0 updates, 0 removals
  - 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.4): 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.4): 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.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
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
12 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

> deasync@0.1.20 install /src/repo/node_modules/deasync
> node ./build.js

`linux-x64-node-10` exists; testing
Binary is fine; exiting

> 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@3.8.3 postinstall /src/repo/node_modules/eslint-plugin-compat/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


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


> parcel-bundler@1.12.4 postinstall /src/repo/node_modules/parcel-bundler
> node -e "console.log('\u001b[35m\u001b[1mLove Parcel? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/parcel/donate\u001b[0m')"

Love Parcel? You can now donate to our open collective:
 > https://opencollective.com/parcel/donate
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (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"})

added 1477 packages from 765 contributors in 50.655s

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

fixed 0 of 3 vulnerabilities in 1479 scanned packages
  3 vulnerabilities required manual review and could not be updated

Verifying that tests still pass
$ npm ci
npm WARN prepare removing existing node_modules/ before installation

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


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


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

pre-commit:
pre-commit: Detected an existing git pre-commit hook
pre-commit: Old pre-commit hook backuped to pre-commit.old
pre-commit:

> deasync@0.1.20 install /src/repo/node_modules/deasync
> node ./build.js

`linux-x64-node-10` exists; testing
Binary is fine; exiting

> fsevents@1.2.13 install /src/repo/node_modules/fsevents
> node install.js


Skipping 'fsevents' build as platform linux is not supported

> parcel-bundler@1.12.4 postinstall /src/repo/node_modules/parcel-bundler
> node -e "console.log('\u001b[35m\u001b[1mLove Parcel? You can now donate to our open collective:\u001b[22m\u001b[39m\n > \u001b[34mhttps://opencollective.com/parcel/donate\u001b[0m')"

Love Parcel? You can now donate to our open collective:
 > https://opencollective.com/parcel/donate

> core-js@3.8.3 postinstall /src/repo/node_modules/eslint-plugin-compat/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"

added 1479 packages in 27.293s

$ npm test

> @ test /src/repo
> npm -s run lint && npm run test:unit

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Checked 1 message directory.
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating

/src/repo/resources/ext.nearby.scripts/api.js
  47:1  warning  This line has a length of 111. Maximum allowed is 100  max-len

/src/repo/tests/jest/App.test.js
   26:9   warning  Promise.all() is not supported in Safari 5.1, IE 11, android 4.1      compat/compat
   29:34  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
   30:19  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  109:4   warning  Promise.all() is not supported in Safari 5.1, IE 11, android 4.1      compat/compat
  111:22  warning  Promise.reject() is not supported in Safari 5.1, IE 11, android 4.1   compat/compat
  131:37  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  154:40  warning  Promise.reject() is not supported in Safari 5.1, IE 11, android 4.1   compat/compat
  159:5   warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  173:33  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  180:40  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  210:14  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  237:5   warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  238:5   warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat

/src/repo/tests/jest/api.test.js
  12:5   warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  30:5   warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  39:35  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat
  46:35  warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1  compat/compat

/src/repo/tests/jest/locationProvider.test.js
   20:5   warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1    compat/compat
   26:5   warning  Promise.resolve() is not supported in Safari 5.1, IE 11, android 4.1    compat/compat
   50:20  warning  Promise.all() is not supported in Safari 5.1, IE 11, android 4.1        compat/compat
   52:7   warning  Array.fill() is not supported in Safari 5.1, iOS Safari 6.0-6.1, IE 11  compat/compat
   62:13  warning  Array.from() is not supported in Safari 5.1, iOS Safari 6.0-6.1, IE 11  compat/compat
   62:25  warning  Set is not supported in Safari 5.1, iOS Safari 6.0-6.1                  compat/compat
  134:3   warning  Promise.all() is not supported in Safari 5.1, IE 11, android 4.1        compat/compat

✖ 25 problems (0 errors, 25 warnings)

Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating

> @ test:unit /src/repo
> jest

PASS tests/jest/api.test.js
PASS tests/jest/locationProvider.test.js
PASS tests/jest/PageList.test.js
PASS tests/jest/ErrorBox.test.js
PASS tests/jest/App.test.js
---------------------|----------|----------|----------|----------|-------------------|
File                 |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
---------------------|----------|----------|----------|----------|-------------------|
All files            |      100 |      100 |      100 |      100 |                   |
 App.vue             |      100 |      100 |      100 |      100 |                   |
 Errorbox.vue        |      100 |      100 |      100 |      100 |                   |
 PageList.vue        |      100 |      100 |      100 |      100 |                   |
 api.js              |      100 |      100 |      100 |      100 |                   |
 locationProvider.js |      100 |      100 |      100 |      100 |                   |
 types.js            |        0 |        0 |        0 |        0 |                   |
---------------------|----------|----------|----------|----------|-------------------|

Test Suites: 5 passed, 5 total
Tests:       34 passed, 34 total
Snapshots:   0 total
Time:        8.018s
Ran all test suites.

$ git add .

$ git commit -F /tmp/tmp9vb0cut6
pre-commit: 
pre-commit: No changes detected.
pre-commit: Skipping the pre-commit hook.
pre-commit: 
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

composer dependencies

Development dependencies

npm dependencies

Development dependencies

Logs

Source code is licensed under the AGPL.