$ date
--- stdout ---
Tue May 24 03:43:08 UTC 2022
--- end ---
$ git clone file:///srv/git/mediawiki-skins-WikimediaApiPortal.git repo --depth=1 -b REL1_35
--- stderr ---
Cloning into 'repo'...
--- stdout ---
--- end ---
$ git config user.name libraryupgrader
--- stdout ---
--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---
--- end ---
$ git submodule update --init
--- stdout ---
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/REL1_35
--- stdout ---
fae0ca65d27c8a2ca257ef8d0c7145d069a55e51 refs/heads/REL1_35
--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"meow": {
"name": "meow",
"severity": "high",
"via": [
"trim-newlines"
],
"effects": [
"node-sass"
],
"range": "3.4.0 - 5.0.0",
"nodes": [
"node_modules/meow"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"node-gyp": {
"name": "node-gyp",
"severity": "high",
"via": [
"tar"
],
"effects": [
"node-sass"
],
"range": "<=3.8.0",
"nodes": [
"node_modules/node-gyp"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"node-sass": {
"name": "node-sass",
"severity": "high",
"via": [
{
"source": 1067417,
"name": "node-sass",
"dependency": "node-sass",
"title": "Improper Certificate Validation in node-sass",
"url": "https://github.com/advisories/GHSA-r8f7-9pfq-mjmv",
"severity": "moderate",
"range": ">=2.0.0 <7.0.0"
},
"meow",
"node-gyp"
],
"effects": [],
"range": "2.0.0 - 6.0.1",
"nodes": [
"node_modules/node-sass"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"tar": {
"name": "tar",
"severity": "high",
"via": [
{
"source": 1070363,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization",
"url": "https://github.com/advisories/GHSA-5955-9wpr-37jh",
"severity": "high",
"range": "<4.4.18"
},
{
"source": 1070369,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links",
"url": "https://github.com/advisories/GHSA-9r2w-394v-53qc",
"severity": "high",
"range": "<4.4.16"
},
{
"source": 1070373,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization",
"url": "https://github.com/advisories/GHSA-3jfq-g458-7qm9",
"severity": "high",
"range": "<3.2.2"
},
{
"source": 1070377,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning",
"url": "https://github.com/advisories/GHSA-r628-mhmh-qjhw",
"severity": "high",
"range": "<3.2.3"
}
],
"effects": [
"node-gyp"
],
"range": "<=4.4.17",
"nodes": [
"node_modules/tar"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"trim-newlines": {
"name": "trim-newlines",
"severity": "high",
"via": [
{
"source": 1070391,
"name": "trim-newlines",
"dependency": "trim-newlines",
"title": "Uncontrolled Resource Consumption in trim-newlines",
"url": "https://github.com/advisories/GHSA-7p7h-4mm5-852v",
"severity": "high",
"range": "<3.0.1"
}
],
"effects": [
"meow"
],
"range": "<3.0.1",
"nodes": [
"node_modules/trim-newlines"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 5,
"critical": 0,
"total": 5
},
"dependencies": {
"prod": 1,
"dev": 609,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 609
}
}
}
--- end ---
$ /usr/bin/composer install
--- stderr ---
No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.
Loading composer repositories with package information
Info from https://repo.packagist.org: [37;44m#StandWith[30;43mUkraine[0m
Updating dependencies
Lock file operations: 33 installs, 0 updates, 0 removals
- Locking composer/installers (v1.12.0)
- Locking composer/semver (1.7.2)
- Locking composer/spdx-licenses (1.5.7)
- Locking composer/xdebug-handler (1.4.6)
- Locking felixfbecker/advanced-json-rpc (v3.2.1)
- Locking mediawiki/mediawiki-codesniffer (v38.0.0)
- Locking mediawiki/mediawiki-phan-config (0.10.2)
- Locking mediawiki/minus-x (1.1.0)
- Locking mediawiki/phan-taint-check-plugin (3.0.2)
- Locking microsoft/tolerant-php-parser (v0.0.20)
- Locking netresearch/jsonmapper (v2.1.0)
- Locking phan/phan (2.6.1)
- Locking php-parallel-lint/php-console-color (v0.3)
- Locking php-parallel-lint/php-console-highlighter (v0.5)
- Locking php-parallel-lint/php-parallel-lint (v1.2.0)
- Locking phpdocumentor/reflection-common (2.2.0)
- Locking phpdocumentor/reflection-docblock (5.3.0)
- Locking phpdocumentor/type-resolver (1.6.1)
- Locking psr/container (1.1.2)
- Locking psr/log (1.1.4)
- Locking sabre/event (5.1.4)
- Locking squizlabs/php_codesniffer (3.6.1)
- Locking symfony/console (v5.4.8)
- Locking symfony/deprecation-contracts (v2.5.1)
- Locking symfony/polyfill-ctype (v1.25.0)
- Locking symfony/polyfill-intl-grapheme (v1.25.0)
- Locking symfony/polyfill-intl-normalizer (v1.25.0)
- Locking symfony/polyfill-mbstring (v1.25.0)
- Locking symfony/polyfill-php73 (v1.25.0)
- Locking symfony/polyfill-php80 (v1.25.0)
- Locking symfony/service-contracts (v2.5.1)
- Locking symfony/string (v5.4.8)
- Locking webmozart/assert (1.10.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 33 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------] 0 [--->------------------------] - Installing composer/installers (v1.12.0): Extracting archive
- Installing squizlabs/php_codesniffer (3.6.1): Extracting archive
- Installing symfony/polyfill-mbstring (v1.25.0): Extracting archive
- Installing composer/spdx-licenses (1.5.7): Extracting archive
- Installing composer/semver (1.7.2): Extracting archive
- Installing mediawiki/mediawiki-codesniffer (v38.0.0): Extracting archive
- Installing symfony/polyfill-php80 (v1.25.0): Extracting archive
- Installing symfony/polyfill-intl-normalizer (v1.25.0): Extracting archive
- Installing symfony/polyfill-intl-grapheme (v1.25.0): Extracting archive
- Installing symfony/polyfill-ctype (v1.25.0): Extracting archive
- Installing symfony/string (v5.4.8): Extracting archive
- Installing symfony/deprecation-contracts (v2.5.1): Extracting archive
- Installing psr/container (1.1.2): Extracting archive
- Installing symfony/service-contracts (v2.5.1): Extracting archive
- Installing symfony/polyfill-php73 (v1.25.0): Extracting archive
- Installing symfony/console (v5.4.8): Extracting archive
- Installing sabre/event (5.1.4): Extracting archive
- Installing netresearch/jsonmapper (v2.1.0): Extracting archive
- Installing microsoft/tolerant-php-parser (v0.0.20): Extracting archive
- Installing webmozart/assert (1.10.0): Extracting archive
- Installing phpdocumentor/reflection-common (2.2.0): Extracting archive
- Installing phpdocumentor/type-resolver (1.6.1): Extracting archive
- Installing phpdocumentor/reflection-docblock (5.3.0): Extracting archive
- Installing felixfbecker/advanced-json-rpc (v3.2.1): Extracting archive
- Installing psr/log (1.1.4): Extracting archive
- Installing composer/xdebug-handler (1.4.6): Extracting archive
- Installing phan/phan (2.6.1): Extracting archive
- Installing mediawiki/phan-taint-check-plugin (3.0.2): Extracting archive
- Installing mediawiki/mediawiki-phan-config (0.10.2): Extracting archive
- Installing mediawiki/minus-x (1.1.0): Extracting archive
- Installing php-parallel-lint/php-console-color (v0.3): Extracting archive
- Installing php-parallel-lint/php-console-highlighter (v0.5): Extracting archive
- Installing php-parallel-lint/php-parallel-lint (v1.2.0): Extracting archive
0/23 [>---------------------------] 0%
9/23 [==========>-----------------] 39%
19/23 [=======================>----] 82%
23/23 [============================] 100%5 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
14 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
--- stdout ---
--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"meow": {
"name": "meow",
"severity": "high",
"via": [
"trim-newlines"
],
"effects": [
"node-sass"
],
"range": "3.4.0 - 5.0.0",
"nodes": [
"node_modules/meow"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"node-gyp": {
"name": "node-gyp",
"severity": "high",
"via": [
"tar"
],
"effects": [
"node-sass"
],
"range": "<=3.8.0",
"nodes": [
"node_modules/node-gyp"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"node-sass": {
"name": "node-sass",
"severity": "high",
"via": [
{
"source": 1067417,
"name": "node-sass",
"dependency": "node-sass",
"title": "Improper Certificate Validation in node-sass",
"url": "https://github.com/advisories/GHSA-r8f7-9pfq-mjmv",
"severity": "moderate",
"range": ">=2.0.0 <7.0.0"
},
"meow",
"node-gyp"
],
"effects": [],
"range": "2.0.0 - 6.0.1",
"nodes": [
"node_modules/node-sass"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"tar": {
"name": "tar",
"severity": "high",
"via": [
{
"source": 1070363,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization",
"url": "https://github.com/advisories/GHSA-5955-9wpr-37jh",
"severity": "high",
"range": "<4.4.18"
},
{
"source": 1070369,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links",
"url": "https://github.com/advisories/GHSA-9r2w-394v-53qc",
"severity": "high",
"range": "<4.4.16"
},
{
"source": 1070373,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization",
"url": "https://github.com/advisories/GHSA-3jfq-g458-7qm9",
"severity": "high",
"range": "<3.2.2"
},
{
"source": 1070377,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning",
"url": "https://github.com/advisories/GHSA-r628-mhmh-qjhw",
"severity": "high",
"range": "<3.2.3"
}
],
"effects": [
"node-gyp"
],
"range": "<=4.4.17",
"nodes": [
"node_modules/tar"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"trim-newlines": {
"name": "trim-newlines",
"severity": "high",
"via": [
{
"source": 1070391,
"name": "trim-newlines",
"dependency": "trim-newlines",
"title": "Uncontrolled Resource Consumption in trim-newlines",
"url": "https://github.com/advisories/GHSA-7p7h-4mm5-852v",
"severity": "high",
"range": "<3.0.1"
}
],
"effects": [
"meow"
],
"range": "<3.0.1",
"nodes": [
"node_modules/trim-newlines"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 5,
"critical": 0,
"total": 5
},
"dependencies": {
"prod": 1,
"dev": 609,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 609
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json --legacy-peer-deps
--- stdout ---
{
"added": 609,
"removed": 0,
"changed": 0,
"audited": 610,
"funding": 1,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"meow": {
"name": "meow",
"severity": "high",
"via": [
"trim-newlines"
],
"effects": [
"node-sass"
],
"range": "3.4.0 - 5.0.0",
"nodes": [
"node_modules/meow"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"node-gyp": {
"name": "node-gyp",
"severity": "high",
"via": [
"tar"
],
"effects": [
"node-sass"
],
"range": "<=3.8.0",
"nodes": [
"node_modules/node-gyp"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"node-sass": {
"name": "node-sass",
"severity": "high",
"via": [
{
"source": 1067417,
"name": "node-sass",
"dependency": "node-sass",
"title": "Improper Certificate Validation in node-sass",
"url": "https://github.com/advisories/GHSA-r8f7-9pfq-mjmv",
"severity": "moderate",
"range": ">=2.0.0 <7.0.0"
},
"meow",
"node-gyp"
],
"effects": [],
"range": "2.0.0 - 6.0.1",
"nodes": [
"node_modules/node-sass"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"tar": {
"name": "tar",
"severity": "high",
"via": [
{
"source": 1070363,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization",
"url": "https://github.com/advisories/GHSA-5955-9wpr-37jh",
"severity": "high",
"range": "<4.4.18"
},
{
"source": 1070369,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links",
"url": "https://github.com/advisories/GHSA-9r2w-394v-53qc",
"severity": "high",
"range": "<4.4.16"
},
{
"source": 1070373,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization",
"url": "https://github.com/advisories/GHSA-3jfq-g458-7qm9",
"severity": "high",
"range": "<3.2.2"
},
{
"source": 1070377,
"name": "tar",
"dependency": "tar",
"title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning",
"url": "https://github.com/advisories/GHSA-r628-mhmh-qjhw",
"severity": "high",
"range": "<3.2.3"
}
],
"effects": [
"node-gyp"
],
"range": "<=4.4.17",
"nodes": [
"node_modules/tar"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
},
"trim-newlines": {
"name": "trim-newlines",
"severity": "high",
"via": [
{
"source": 1070391,
"name": "trim-newlines",
"dependency": "trim-newlines",
"title": "Uncontrolled Resource Consumption in trim-newlines",
"url": "https://github.com/advisories/GHSA-7p7h-4mm5-852v",
"severity": "high",
"range": "<3.0.1"
}
],
"effects": [
"meow"
],
"range": "<3.0.1",
"nodes": [
"node_modules/trim-newlines"
],
"fixAvailable": {
"name": "node-sass",
"version": "7.0.1",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 0,
"high": 5,
"critical": 0,
"total": 5
},
"dependencies": {
"prod": 1,
"dev": 609,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 609
}
}
}
}
--- end ---
{"added": 609, "removed": 0, "changed": 0, "audited": 610, "funding": 1, "audit": {"auditReportVersion": 2, "vulnerabilities": {"meow": {"name": "meow", "severity": "high", "via": ["trim-newlines"], "effects": ["node-sass"], "range": "3.4.0 - 5.0.0", "nodes": ["node_modules/meow"], "fixAvailable": {"name": "node-sass", "version": "7.0.1", "isSemVerMajor": true}}, "node-gyp": {"name": "node-gyp", "severity": "high", "via": ["tar"], "effects": ["node-sass"], "range": "<=3.8.0", "nodes": ["node_modules/node-gyp"], "fixAvailable": {"name": "node-sass", "version": "7.0.1", "isSemVerMajor": true}}, "node-sass": {"name": "node-sass", "severity": "high", "via": [{"source": 1067417, "name": "node-sass", "dependency": "node-sass", "title": "Improper Certificate Validation in node-sass", "url": "https://github.com/advisories/GHSA-r8f7-9pfq-mjmv", "severity": "moderate", "range": ">=2.0.0 <7.0.0"}, "meow", "node-gyp"], "effects": [], "range": "2.0.0 - 6.0.1", "nodes": ["node_modules/node-sass"], "fixAvailable": {"name": "node-sass", "version": "7.0.1", "isSemVerMajor": true}}, "tar": {"name": "tar", "severity": "high", "via": [{"source": 1070363, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization", "url": "https://github.com/advisories/GHSA-5955-9wpr-37jh", "severity": "high", "range": "<4.4.18"}, {"source": 1070369, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links", "url": "https://github.com/advisories/GHSA-9r2w-394v-53qc", "severity": "high", "range": "<4.4.16"}, {"source": 1070373, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization", "url": "https://github.com/advisories/GHSA-3jfq-g458-7qm9", "severity": "high", "range": "<3.2.2"}, {"source": 1070377, "name": "tar", "dependency": "tar", "title": "Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning", "url": "https://github.com/advisories/GHSA-r628-mhmh-qjhw", "severity": "high", "range": "<3.2.3"}], "effects": ["node-gyp"], "range": "<=4.4.17", "nodes": ["node_modules/tar"], "fixAvailable": {"name": "node-sass", "version": "7.0.1", "isSemVerMajor": true}}, "trim-newlines": {"name": "trim-newlines", "severity": "high", "via": [{"source": 1070391, "name": "trim-newlines", "dependency": "trim-newlines", "title": "Uncontrolled Resource Consumption in trim-newlines", "url": "https://github.com/advisories/GHSA-7p7h-4mm5-852v", "severity": "high", "range": "<3.0.1"}], "effects": ["meow"], "range": "<3.0.1", "nodes": ["node_modules/trim-newlines"], "fixAvailable": {"name": "node-sass", "version": "7.0.1", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 0, "high": 5, "critical": 0, "total": 5}, "dependencies": {"prod": 1, "dev": 609, "optional": 0, "peer": 0, "peerOptional": 0, "total": 609}}}}
$ /usr/bin/npm audit fix --only=dev --legacy-peer-deps
--- stdout ---
added 609 packages, and audited 610 packages in 7s
1 package is looking for funding
run `npm fund` for details
# npm audit report
node-sass 2.0.0 - 6.0.1
Severity: high
Improper Certificate Validation in node-sass - https://github.com/advisories/GHSA-r8f7-9pfq-mjmv
Depends on vulnerable versions of meow
Depends on vulnerable versions of node-gyp
fix available via `npm audit fix --force`
Will install node-sass@7.0.1, which is a breaking change
node_modules/node-sass
tar <=4.4.17
Severity: high
Arbitrary File Creation/Overwrite on Windows via insufficient relative path sanitization - https://github.com/advisories/GHSA-5955-9wpr-37jh
Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links - https://github.com/advisories/GHSA-9r2w-394v-53qc
Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization - https://github.com/advisories/GHSA-3jfq-g458-7qm9
Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning - https://github.com/advisories/GHSA-r628-mhmh-qjhw
fix available via `npm audit fix --force`
Will install node-sass@7.0.1, which is a breaking change
node_modules/tar
node-gyp <=3.8.0
Depends on vulnerable versions of tar
node_modules/node-gyp
node-sass 2.0.0 - 6.0.1
Depends on vulnerable versions of meow
Depends on vulnerable versions of node-gyp
node_modules/node-sass
trim-newlines <3.0.1
Severity: high
Uncontrolled Resource Consumption in trim-newlines - https://github.com/advisories/GHSA-7p7h-4mm5-852v
fix available via `npm audit fix --force`
Will install node-sass@7.0.1, which is a breaking change
node_modules/trim-newlines
meow 3.4.0 - 5.0.0
Depends on vulnerable versions of trim-newlines
node_modules/meow
node-sass 2.0.0 - 6.0.1
Depends on vulnerable versions of meow
Depends on vulnerable versions of node-gyp
node_modules/node-sass
5 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stdout ---
added 609 packages, and audited 610 packages in 7s
1 package is looking for funding
run `npm fund` for details
5 high severity vulnerabilities
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stdout ---
> test
> npm -s run lint
Checked 1 message directory.
--- end ---
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json
--- end ---
[DNM] there are no updates
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpl7zojurd
--- stdout ---
On branch REL1_35
Your branch is up to date with 'origin/REL1_35'.
nothing to commit, working tree clean
--- end ---