$ date
--- stdout ---
Thu May 26 21:41:18 UTC 2022
--- end ---
$ git clone file:///srv/git/mediawiki-extensions-SiteSettings.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 ---
f47e4513b8d8ef589ae38eef5143186409e209fa refs/heads/REL1_35
--- end ---
$ /usr/bin/npm audit --json --legacy-peer-deps
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"@prantlf/jsonlint": {
"name": "@prantlf/jsonlint",
"severity": "moderate",
"via": [
"ajv"
],
"effects": [
"grunt-jsonlint"
],
"range": "3.0.0 - 10.2.0",
"nodes": [
"node_modules/@prantlf/jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
},
"ajv": {
"name": "ajv",
"severity": "moderate",
"via": [
{
"source": 1067946,
"name": "ajv",
"dependency": "ajv",
"title": "Prototype Pollution in Ajv",
"url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw",
"severity": "moderate",
"range": "<6.12.3"
}
],
"effects": [
"@prantlf/jsonlint"
],
"range": "<6.12.3",
"nodes": [
"node_modules/ajv"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
},
"grunt-jsonlint": {
"name": "grunt-jsonlint",
"severity": "moderate",
"via": [
"@prantlf/jsonlint"
],
"effects": [],
"range": ">=2.0.0",
"nodes": [
"node_modules/grunt-jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 3,
"high": 0,
"critical": 0,
"total": 3
},
"dependencies": {
"prod": 1,
"dev": 113,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 113
}
}
}
--- 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: 15 installs, 0 updates, 0 removals
- Locking mediawiki/minus-x (1.1.0)
- 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 psr/container (1.1.2)
- 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)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 15 installs, 0 updates, 0 removals
0 [>---------------------------] 0 [->--------------------------] 0 [--->------------------------] - Installing symfony/polyfill-php80 (v1.25.0): Extracting archive
- Installing symfony/polyfill-mbstring (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 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/5 [>---------------------------] 0%
5/5 [============================] 100%5 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
10 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": {
"@prantlf/jsonlint": {
"name": "@prantlf/jsonlint",
"severity": "moderate",
"via": [
"ajv"
],
"effects": [
"grunt-jsonlint"
],
"range": "3.0.0 - 10.2.0",
"nodes": [
"node_modules/@prantlf/jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
},
"ajv": {
"name": "ajv",
"severity": "moderate",
"via": [
{
"source": 1067946,
"name": "ajv",
"dependency": "ajv",
"title": "Prototype Pollution in Ajv",
"url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw",
"severity": "moderate",
"range": "<6.12.3"
}
],
"effects": [
"@prantlf/jsonlint"
],
"range": "<6.12.3",
"nodes": [
"node_modules/ajv"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
},
"grunt-jsonlint": {
"name": "grunt-jsonlint",
"severity": "moderate",
"via": [
"@prantlf/jsonlint"
],
"effects": [],
"range": ">=2.0.0",
"nodes": [
"node_modules/grunt-jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 3,
"high": 0,
"critical": 0,
"total": 3
},
"dependencies": {
"prod": 1,
"dev": 113,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 113
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json --legacy-peer-deps
--- stdout ---
{
"added": 113,
"removed": 0,
"changed": 0,
"audited": 114,
"funding": 4,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"@prantlf/jsonlint": {
"name": "@prantlf/jsonlint",
"severity": "moderate",
"via": [
"ajv"
],
"effects": [
"grunt-jsonlint"
],
"range": "3.0.0 - 10.2.0",
"nodes": [
"node_modules/@prantlf/jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
},
"ajv": {
"name": "ajv",
"severity": "moderate",
"via": [
{
"source": 1067946,
"name": "ajv",
"dependency": "ajv",
"title": "Prototype Pollution in Ajv",
"url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw",
"severity": "moderate",
"range": "<6.12.3"
}
],
"effects": [
"@prantlf/jsonlint"
],
"range": "<6.12.3",
"nodes": [
"node_modules/ajv"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
},
"grunt-jsonlint": {
"name": "grunt-jsonlint",
"severity": "moderate",
"via": [
"@prantlf/jsonlint"
],
"effects": [],
"range": ">=2.0.0",
"nodes": [
"node_modules/grunt-jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "1.1.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 3,
"high": 0,
"critical": 0,
"total": 3
},
"dependencies": {
"prod": 1,
"dev": 113,
"optional": 0,
"peer": 0,
"peerOptional": 0,
"total": 113
}
}
}
}
--- end ---
{"added": 113, "removed": 0, "changed": 0, "audited": 114, "funding": 4, "audit": {"auditReportVersion": 2, "vulnerabilities": {"@prantlf/jsonlint": {"name": "@prantlf/jsonlint", "severity": "moderate", "via": ["ajv"], "effects": ["grunt-jsonlint"], "range": "3.0.0 - 10.2.0", "nodes": ["node_modules/@prantlf/jsonlint"], "fixAvailable": {"name": "grunt-jsonlint", "version": "1.1.0", "isSemVerMajor": true}}, "ajv": {"name": "ajv", "severity": "moderate", "via": [{"source": 1067946, "name": "ajv", "dependency": "ajv", "title": "Prototype Pollution in Ajv", "url": "https://github.com/advisories/GHSA-v88g-cgmw-v5xw", "severity": "moderate", "range": "<6.12.3"}], "effects": ["@prantlf/jsonlint"], "range": "<6.12.3", "nodes": ["node_modules/ajv"], "fixAvailable": {"name": "grunt-jsonlint", "version": "1.1.0", "isSemVerMajor": true}}, "grunt-jsonlint": {"name": "grunt-jsonlint", "severity": "moderate", "via": ["@prantlf/jsonlint"], "effects": [], "range": ">=2.0.0", "nodes": ["node_modules/grunt-jsonlint"], "fixAvailable": {"name": "grunt-jsonlint", "version": "1.1.0", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 3, "high": 0, "critical": 0, "total": 3}, "dependencies": {"prod": 1, "dev": 113, "optional": 0, "peer": 0, "peerOptional": 0, "total": 113}}}}
$ /usr/bin/npm audit fix --only=dev --legacy-peer-deps
--- stdout ---
added 113 packages, and audited 114 packages in 2s
4 packages are looking for funding
run `npm fund` for details
# npm audit report
ajv <6.12.3
Severity: moderate
Prototype Pollution in Ajv - https://github.com/advisories/GHSA-v88g-cgmw-v5xw
fix available via `npm audit fix --force`
Will install grunt-jsonlint@1.1.0, which is a breaking change
node_modules/ajv
@prantlf/jsonlint 3.0.0 - 10.2.0
Depends on vulnerable versions of ajv
node_modules/@prantlf/jsonlint
grunt-jsonlint >=2.0.0
Depends on vulnerable versions of @prantlf/jsonlint
node_modules/grunt-jsonlint
3 moderate 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 113 packages, and audited 114 packages in 2s
4 packages are looking for funding
run `npm fund` for details
3 moderate 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
> grunt test
Running "jsonlint:all" (jsonlint) task
>> 80 files lint free.
Running "banana:all" (banana) task
>> 1 message directory checked.
Done.
--- 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/tmpjdmqtwne
--- stdout ---
On branch REL1_35
Your branch is up to date with 'origin/REL1_35'.
nothing to commit, working tree clean
--- end ---