mediawiki/extensions/WikiLambda (main)

sourcepatches
$ date
Sun May 16 17:01:44 UTC 2021

$ git clone file:///srv/git/mediawiki-extensions-WikiLambda.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
824f616fc5a99390b6757c98410e6eb7bf33894c 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.6.0): 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 (v36.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.8): 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.22.1): Loading from cache
  - Installing symfony/console (v5.2.8): 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
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.21 install /src/repo/node_modules/deasync
> node ./build.js

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

> core-js@2.6.12 postinstall /src/repo/node_modules/babel-register/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@2.6.12 postinstall /src/repo/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


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

npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1160 packages from 625 contributors in 19.411s

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

fixed 0 of 7 vulnerabilities in 1161 scanned packages
  7 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

up to date in 14.283s

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

fixed 0 of 7 vulnerabilities in 1161 scanned packages
  7 vulnerabilities required manual review and could not be updated

$ npm audit fix --only=dev
npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

up to date in 6.376s

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

fixed 0 of 7 vulnerabilities in 1161 scanned packages
  7 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.12 postinstall /src/repo/node_modules/babel-runtime/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"


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

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

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


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

added 1161 packages in 14.42s

$ npm test

> @ test /src/repo
> grunt test && npm run test:unit

Running "eslint:all" (eslint) task

Running "banana:WikiLambda" (banana) task
>> 2 message directories checked.

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

Done.

> @ test:unit /src/repo
> jest

PASS tests/jest/store/modules/zobjectModes.test.js
PASS tests/jest/store/modules/zKeys.test.js
PASS tests/jest/store/modules/callzfunction.test.js
PASS tests/jest/store/modules/zobject.test.js

[vue-jest]: no .babelrc found, skipping babel compilation


[vue-jest]: Less are not currently compiled by vue-jest


[vue-jest]: Less are not currently compiled by vue-jest


[vue-jest]: no .babelrc found, skipping babel compilation

PASS tests/jest/components/ZKeyModeSelector.test.js

[vue-jest]: Less are not currently compiled by vue-jest


[vue-jest]: no .babelrc found, skipping babel compilation

PASS tests/jest/components/ZObject.test.js
PASS tests/jest/components/ZObjectEditor.test.js
PASS tests/jest/components/App.test.js
PASS tests/jest/components/ZObjectViewer.test.js
--------------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------------------------------------------------------------
File                                  | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s                                                                                                            
--------------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------------------------------------------------------------
All files                             |   38.75 |    30.14 |   28.28 |   38.75 |                                                                                                                              
 ext.wikilambda.edit                  |      25 |      100 |       0 |      25 |                                                                                                                              
  Constants.js                        |     100 |      100 |     100 |     100 |                                                                                                                              
  index.js                            |       0 |      100 |       0 |       0 | 9-19                                                                                                                         
 ext.wikilambda.edit/components       |   34.02 |     4.88 |   20.29 |   34.02 |                                                                                                                              
  App.vue                             |     100 |      100 |     100 |     100 |                                                                                                                              
  ZKeyModeSelector.vue                |     100 |      100 |     100 |     100 |                                                                                                                              
  ZObject.vue                         |   95.24 |      100 |   83.33 |   95.24 | 149                                                                                                                          
  ZObjectEditor.vue                   |   83.33 |    33.33 |   66.67 |   83.33 | 74,91-95                                                                                                                     
  ZObjectGeneric.vue                  |   43.75 |        0 |       0 |   43.75 | 72-121                                                                                                                       
  ZObjectJson.vue                     |   16.67 |        0 |       0 |   16.67 | 35-99                                                                                                                        
  ZObjectKey.vue                      |       0 |        0 |       0 |       0 | 64-182                                                                                                                       
  ZObjectKeyInput.vue                 |      25 |        0 |       0 |      25 | 33-46                                                                                                                        
  ZObjectKeyList.vue                  |   31.82 |        0 |       0 |   31.82 | 63-125                                                                                                                       
  ZObjectSelector.vue                 |   11.36 |        0 |       0 |   11.36 | 76-318                                                                                                                       
  ZObjectViewer.vue                   |     100 |      100 |     100 |     100 |                                                                                                                              
 ext.wikilambda.edit/components/types |   26.05 |        0 |       0 |   26.05 |                                                                                                                              
  ZArgument.vue                       |   26.67 |        0 |       0 |   26.67 | 69-124                                                                                                                       
  ZArgumentList.vue                   |      50 |      100 |       0 |      50 | 35-43                                                                                                                        
  ZCode.vue                           |   21.43 |        0 |       0 |   21.43 | 55-141                                                                                                                       
  ZFunction.vue                       |   15.22 |        0 |       0 |   15.22 | 60-160                                                                                                                       
  ZFunctionCall.vue                   |   16.33 |        0 |       0 |   16.33 | 75-198                                                                                                                       
  ZList.vue                           |   41.67 |      100 |       0 |   41.67 | 47-76                                                                                                                        
  ZListItem.vue                       |    37.5 |      100 |       0 |    37.5 | 54-100                                                                                                                       
  ZMonolingualString.vue              |   35.29 |      100 |       0 |   35.29 | 58-108                                                                                                                       
  ZMultilingualString.vue             |   24.14 |        0 |       0 |   24.14 | 65-159                                                                                                                       
  ZReference.vue                      |   42.86 |        0 |       0 |   42.86 | 60-95                                                                                                                        
  ZString.vue                         |   41.67 |        0 |       0 |   41.67 | 45-69                                                                                                                        
 ext.wikilambda.edit/mixins           |      10 |        0 |       0 |      10 |                                                                                                                              
  typeUtils.js                        |   14.29 |        0 |       0 |   14.29 | 21-38                                                                                                                        
  validator.js                        |    7.69 |        0 |       0 |    7.69 | 13-53                                                                                                                        
 ext.wikilambda.edit/store            |       0 |        0 |       0 |       0 |                                                                                                                              
  actions.js                          |       0 |        0 |       0 |       0 | 9-80                                                                                                                         
  getters.js                          |       0 |        0 |       0 |       0 | 8-38                                                                                                                         
  index.js                            |       0 |      100 |     100 |       0 | 9-22                                                                                                                         
  mutations.js                        |       0 |      100 |       0 |       0 | 9-47                                                                                                                         
  state.js                            |       0 |      100 |     100 |       0 | 9                                                                                                                            
 ext.wikilambda.edit/store/modules    |   57.58 |    62.31 |   65.38 |   57.58 |                                                                                                                              
  callZFunction.js                    |     100 |      100 |     100 |     100 |                                                                                                                              
  zKeys.js                            |   80.56 |    72.22 |   61.54 |   80.56 | 46-80,125                                                                                                                    
  zobject.js                          |   49.66 |       56 |   58.11 |   49.66 | 50,66,88,103-105,187,191,195-196,206-207,219-245,269-285,318,393-395,407-409,425,455-456,476-490,515,534-808,822,826,839-902 
  zobjectModes.js                     |     100 |      100 |     100 |     100 |                                                                                                                              
 lib                                  |     100 |      100 |     100 |     100 |                                                                                                                              
  icons.js                            |     100 |      100 |     100 |     100 |                                                                                                                              
--------------------------------------|---------|----------|---------|---------|------------------------------------------------------------------------------------------------------------------------------

Test Suites: 9 passed, 9 total
Tests:       50 passed, 50 total
Snapshots:   0 total
Time:        8.098 s
Ran all test suites.

$ git add .

$ git commit -F /tmp/tmpbbfolrgr
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.