$ date
--- stdout ---
Thu Jan 29 00:11:05 UTC 2026
--- end ---
$ git clone file:///srv/git/VisualEditor-VisualEditor.git /src/repo --depth=1 -b master
--- stderr ---
Cloning into '/src/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/master
--- stdout ---
20faace3ec18eaa86b2e1ac7b4c007b2c24f4c5c refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"@prantlf/jsonlint": {
"name": "@prantlf/jsonlint",
"severity": "low",
"isDirect": false,
"via": [
"diff"
],
"effects": [
"grunt-jsonlint"
],
"range": "11.4.0 - 16.0.0",
"nodes": [
"node_modules/@prantlf/jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"diff": {
"name": "diff",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1112490,
"name": "diff",
"dependency": "diff",
"title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
"url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
"severity": "low",
"cwe": [
"CWE-400",
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": ">=5.0.0 <5.2.2"
}
],
"effects": [
"@prantlf/jsonlint"
],
"range": "5.0.0 - 5.2.1",
"nodes": [
"node_modules/diff"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"form-data": {
"name": "form-data",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1109540,
"name": "form-data",
"dependency": "form-data",
"title": "form-data uses unsafe random function in form-data for choosing boundary",
"url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4",
"severity": "critical",
"cwe": [
"CWE-330"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<2.5.4"
}
],
"effects": [
"request"
],
"range": "<2.5.4",
"nodes": [
"node_modules/form-data"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"grunt-css-url-embed": {
"name": "grunt-css-url-embed",
"severity": "moderate",
"isDirect": true,
"via": [
"request"
],
"effects": [],
"range": ">=1.1.0",
"nodes": [
"node_modules/grunt-css-url-embed"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"grunt-jsonlint": {
"name": "grunt-jsonlint",
"severity": "low",
"isDirect": true,
"via": [
"@prantlf/jsonlint"
],
"effects": [],
"range": ">=3.0.0",
"nodes": [
"node_modules/grunt-jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"lodash": {
"name": "lodash",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1112455,
"name": "lodash",
"dependency": "lodash",
"title": "Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions",
"url": "https://github.com/advisories/GHSA-xxjr-mmjv-4gpg",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
},
"range": ">=4.0.0 <=4.17.22"
}
],
"effects": [],
"range": "4.0.0 - 4.17.21",
"nodes": [
"node_modules/lodash"
],
"fixAvailable": true
},
"qs": {
"name": "qs",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1111755,
"name": "qs",
"dependency": "qs",
"title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion",
"url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p",
"severity": "high",
"cwe": [
"CWE-20"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<6.14.1"
}
],
"effects": [
"request"
],
"range": "<6.14.1",
"nodes": [
"node_modules/request/node_modules/qs"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"request": {
"name": "request",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"form-data",
"qs",
"tough-cookie"
],
"effects": [
"grunt-css-url-embed"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097682,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 3,
"moderate": 3,
"high": 1,
"critical": 2,
"total": 9
},
"dependencies": {
"prod": 1,
"dev": 745,
"optional": 14,
"peer": 1,
"peerOptional": 0,
"total": 745
}
}
}
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"@prantlf/jsonlint": {
"name": "@prantlf/jsonlint",
"severity": "low",
"isDirect": false,
"via": [
"diff"
],
"effects": [
"grunt-jsonlint"
],
"range": "11.4.0 - 16.0.0",
"nodes": [
"node_modules/@prantlf/jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"diff": {
"name": "diff",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1112490,
"name": "diff",
"dependency": "diff",
"title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
"url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
"severity": "low",
"cwe": [
"CWE-400",
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": ">=5.0.0 <5.2.2"
}
],
"effects": [
"@prantlf/jsonlint"
],
"range": "5.0.0 - 5.2.1",
"nodes": [
"node_modules/diff"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"form-data": {
"name": "form-data",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1109540,
"name": "form-data",
"dependency": "form-data",
"title": "form-data uses unsafe random function in form-data for choosing boundary",
"url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4",
"severity": "critical",
"cwe": [
"CWE-330"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<2.5.4"
}
],
"effects": [
"request"
],
"range": "<2.5.4",
"nodes": [
"node_modules/form-data"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"grunt-css-url-embed": {
"name": "grunt-css-url-embed",
"severity": "moderate",
"isDirect": true,
"via": [
"request"
],
"effects": [],
"range": ">=1.1.0",
"nodes": [
"node_modules/grunt-css-url-embed"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"grunt-jsonlint": {
"name": "grunt-jsonlint",
"severity": "low",
"isDirect": true,
"via": [
"@prantlf/jsonlint"
],
"effects": [],
"range": ">=3.0.0",
"nodes": [
"node_modules/grunt-jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"lodash": {
"name": "lodash",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1112455,
"name": "lodash",
"dependency": "lodash",
"title": "Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions",
"url": "https://github.com/advisories/GHSA-xxjr-mmjv-4gpg",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
},
"range": ">=4.0.0 <=4.17.22"
}
],
"effects": [],
"range": "4.0.0 - 4.17.21",
"nodes": [
"node_modules/lodash"
],
"fixAvailable": true
},
"qs": {
"name": "qs",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1111755,
"name": "qs",
"dependency": "qs",
"title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion",
"url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p",
"severity": "high",
"cwe": [
"CWE-20"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<6.14.1"
}
],
"effects": [
"request"
],
"range": "<6.14.1",
"nodes": [
"node_modules/request/node_modules/qs"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"request": {
"name": "request",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"form-data",
"qs",
"tough-cookie"
],
"effects": [
"grunt-css-url-embed"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097682,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 3,
"moderate": 3,
"high": 1,
"critical": 2,
"total": 9
},
"dependencies": {
"prod": 1,
"dev": 745,
"optional": 14,
"peer": 1,
"peerOptional": 0,
"total": 745
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-design-tokens@2.3.3',
npm WARN EBADENGINE required: { node: '>=20.19.1', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v20.19.2', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
"added": 745,
"removed": 0,
"changed": 0,
"audited": 746,
"funding": 128,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"@prantlf/jsonlint": {
"name": "@prantlf/jsonlint",
"severity": "low",
"isDirect": false,
"via": [
"diff"
],
"effects": [
"grunt-jsonlint"
],
"range": "11.4.0 - 16.0.0",
"nodes": [
"node_modules/@prantlf/jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"diff": {
"name": "diff",
"severity": "low",
"isDirect": false,
"via": [
{
"source": 1112490,
"name": "diff",
"dependency": "diff",
"title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
"url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
"severity": "low",
"cwe": [
"CWE-400",
"CWE-1333"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": ">=5.0.0 <5.2.2"
}
],
"effects": [
"@prantlf/jsonlint"
],
"range": "5.0.0 - 5.2.1",
"nodes": [
"node_modules/diff"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"form-data": {
"name": "form-data",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1109540,
"name": "form-data",
"dependency": "form-data",
"title": "form-data uses unsafe random function in form-data for choosing boundary",
"url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4",
"severity": "critical",
"cwe": [
"CWE-330"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<2.5.4"
}
],
"effects": [
"request"
],
"range": "<2.5.4",
"nodes": [
"node_modules/form-data"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"grunt-css-url-embed": {
"name": "grunt-css-url-embed",
"severity": "moderate",
"isDirect": true,
"via": [
"request"
],
"effects": [],
"range": ">=1.1.0",
"nodes": [
"node_modules/grunt-css-url-embed"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"grunt-jsonlint": {
"name": "grunt-jsonlint",
"severity": "low",
"isDirect": true,
"via": [
"@prantlf/jsonlint"
],
"effects": [],
"range": ">=3.0.0",
"nodes": [
"node_modules/grunt-jsonlint"
],
"fixAvailable": {
"name": "grunt-jsonlint",
"version": "2.1.5",
"isSemVerMajor": true
}
},
"lodash": {
"name": "lodash",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1112455,
"name": "lodash",
"dependency": "lodash",
"title": "Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions",
"url": "https://github.com/advisories/GHSA-xxjr-mmjv-4gpg",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
},
"range": ">=4.0.0 <=4.17.22"
}
],
"effects": [],
"range": "4.0.0 - 4.17.21",
"nodes": [
""
],
"fixAvailable": true
},
"qs": {
"name": "qs",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1111755,
"name": "qs",
"dependency": "qs",
"title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion",
"url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p",
"severity": "high",
"cwe": [
"CWE-20"
],
"cvss": {
"score": 7.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
},
"range": "<6.14.1"
}
],
"effects": [
"request"
],
"range": "<6.14.1",
"nodes": [
"node_modules/request/node_modules/qs"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"request": {
"name": "request",
"severity": "critical",
"isDirect": false,
"via": [
{
"source": 1096727,
"name": "request",
"dependency": "request",
"title": "Server-Side Request Forgery in Request",
"url": "https://github.com/advisories/GHSA-p8p7-x288-28g6",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<=2.88.2"
},
"form-data",
"qs",
"tough-cookie"
],
"effects": [
"grunt-css-url-embed"
],
"range": "*",
"nodes": [
"node_modules/request"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
},
"tough-cookie": {
"name": "tough-cookie",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1097682,
"name": "tough-cookie",
"dependency": "tough-cookie",
"title": "tough-cookie Prototype Pollution vulnerability",
"url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 6.5,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
},
"range": "<4.1.3"
}
],
"effects": [
"request"
],
"range": "<4.1.3",
"nodes": [
"node_modules/tough-cookie"
],
"fixAvailable": {
"name": "grunt-css-url-embed",
"version": "1.0.4",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 3,
"moderate": 3,
"high": 1,
"critical": 2,
"total": 9
},
"dependencies": {
"prod": 1,
"dev": 745,
"optional": 14,
"peer": 1,
"peerOptional": 0,
"total": 745
}
}
}
}
--- end ---
{"added": 745, "removed": 0, "changed": 0, "audited": 746, "funding": 128, "audit": {"auditReportVersion": 2, "vulnerabilities": {"@prantlf/jsonlint": {"name": "@prantlf/jsonlint", "severity": "low", "isDirect": false, "via": ["diff"], "effects": ["grunt-jsonlint"], "range": "11.4.0 - 16.0.0", "nodes": ["node_modules/@prantlf/jsonlint"], "fixAvailable": {"name": "grunt-jsonlint", "version": "2.1.5", "isSemVerMajor": true}}, "diff": {"name": "diff", "severity": "low", "isDirect": false, "via": [{"source": 1112490, "name": "diff", "dependency": "diff", "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch", "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx", "severity": "low", "cwe": ["CWE-400", "CWE-1333"], "cvss": {"score": 0, "vectorString": null}, "range": ">=5.0.0 <5.2.2"}], "effects": ["@prantlf/jsonlint"], "range": "5.0.0 - 5.2.1", "nodes": ["node_modules/diff"], "fixAvailable": {"name": "grunt-jsonlint", "version": "2.1.5", "isSemVerMajor": true}}, "form-data": {"name": "form-data", "severity": "critical", "isDirect": false, "via": [{"source": 1109540, "name": "form-data", "dependency": "form-data", "title": "form-data uses unsafe random function in form-data for choosing boundary", "url": "https://github.com/advisories/GHSA-fjxv-7rqg-78g4", "severity": "critical", "cwe": ["CWE-330"], "cvss": {"score": 0, "vectorString": null}, "range": "<2.5.4"}], "effects": ["request"], "range": "<2.5.4", "nodes": ["node_modules/form-data"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}, "grunt-css-url-embed": {"name": "grunt-css-url-embed", "severity": "moderate", "isDirect": true, "via": ["request"], "effects": [], "range": ">=1.1.0", "nodes": ["node_modules/grunt-css-url-embed"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}, "grunt-jsonlint": {"name": "grunt-jsonlint", "severity": "low", "isDirect": true, "via": ["@prantlf/jsonlint"], "effects": [], "range": ">=3.0.0", "nodes": ["node_modules/grunt-jsonlint"], "fixAvailable": {"name": "grunt-jsonlint", "version": "2.1.5", "isSemVerMajor": true}}, "lodash": {"name": "lodash", "severity": "moderate", "isDirect": false, "via": [{"source": 1112455, "name": "lodash", "dependency": "lodash", "title": "Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions", "url": "https://github.com/advisories/GHSA-xxjr-mmjv-4gpg", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"}, "range": ">=4.0.0 <=4.17.22"}], "effects": [], "range": "4.0.0 - 4.17.21", "nodes": [""], "fixAvailable": true}, "qs": {"name": "qs", "severity": "high", "isDirect": false, "via": [{"source": 1111755, "name": "qs", "dependency": "qs", "title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion", "url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p", "severity": "high", "cwe": ["CWE-20"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<6.14.1"}], "effects": ["request"], "range": "<6.14.1", "nodes": ["node_modules/request/node_modules/qs"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}, "request": {"name": "request", "severity": "critical", "isDirect": false, "via": [{"source": 1096727, "name": "request", "dependency": "request", "title": "Server-Side Request Forgery in Request", "url": "https://github.com/advisories/GHSA-p8p7-x288-28g6", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<=2.88.2"}, "form-data", "qs", "tough-cookie"], "effects": ["grunt-css-url-embed"], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}, "range": "<4.1.3"}], "effects": ["request"], "range": "<4.1.3", "nodes": ["node_modules/tough-cookie"], "fixAvailable": {"name": "grunt-css-url-embed", "version": "1.0.4", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 3, "moderate": 3, "high": 1, "critical": 2, "total": 9}, "dependencies": {"prod": 1, "dev": 745, "optional": 14, "peer": 1, "peerOptional": 0, "total": 745}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-design-tokens@2.3.3',
npm WARN EBADENGINE required: { node: '>=20.19.1', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v20.19.2', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated raw-body@1.1.7: No longer maintained. Please upgrade to a stable version.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
--- stdout ---
added 742 packages, and audited 743 packages in 8s
128 packages are looking for funding
run `npm fund` for details
# npm audit report
diff 5.0.0 - 5.2.1
jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch - https://github.com/advisories/GHSA-73rr-hh4g-fpgx
fix available via `npm audit fix --force`
Will install grunt-jsonlint@2.1.5, which is a breaking change
node_modules/diff
@prantlf/jsonlint 11.4.0 - 16.0.0
Depends on vulnerable versions of diff
node_modules/@prantlf/jsonlint
grunt-jsonlint >=3.0.0
Depends on vulnerable versions of @prantlf/jsonlint
node_modules/grunt-jsonlint
form-data <2.5.4
Severity: critical
form-data uses unsafe random function in form-data for choosing boundary - https://github.com/advisories/GHSA-fjxv-7rqg-78g4
fix available via `npm audit fix --force`
Will install grunt-css-url-embed@1.0.4, which is a breaking change
node_modules/form-data
request *
Depends on vulnerable versions of form-data
Depends on vulnerable versions of qs
Depends on vulnerable versions of tough-cookie
node_modules/request
grunt-css-url-embed >=1.1.0
Depends on vulnerable versions of request
node_modules/grunt-css-url-embed
qs <6.14.1
Severity: high
qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion - https://github.com/advisories/GHSA-6rw7-vpxm-498p
fix available via `npm audit fix --force`
Will install grunt-css-url-embed@1.0.4, which is a breaking change
node_modules/request/node_modules/qs
tough-cookie <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
fix available via `npm audit fix --force`
Will install grunt-css-url-embed@1.0.4, which is a breaking change
node_modules/tough-cookie
8 vulnerabilities (3 low, 2 moderate, 1 high, 2 critical)
To address all issues (including breaking changes), run:
npm audit fix --force
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '@wikimedia/codex-design-tokens@2.3.3',
npm WARN EBADENGINE required: { node: '>=20.19.1', npm: '>=10.8.1' },
npm WARN EBADENGINE current: { node: 'v20.19.2', npm: '9.2.0' }
npm WARN EBADENGINE }
npm WARN deprecated raw-body@1.1.7: No longer maintained. Please upgrade to a stable version.
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated kad-fs@0.0.4: This package is no longer maintained.
npm WARN deprecated kad-memstore@0.0.1: This package is no longer maintained.
--- stdout ---
> visualeditor@0.0.0 postinstall
> cd rebaser && npm ci
added 187 packages, and audited 188 packages in 3s
10 packages are looking for funding
run `npm fund` for details
26 vulnerabilities (5 low, 7 moderate, 14 high)
To address issues that do not require attention, run:
npm audit fix
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
> visualeditor@0.0.0 prepare
> grunt build
Running "clean:dist" (clean) task
>> 0 paths cleaned.
Running "concat:rebaser.build" (concat) task
Running "concat:visualEditor.rebase.scripts" (concat) task
Running "concat:visualEditor.rebase.styles" (concat) task
Running "concat:js" (concat) task
Running "concat:css-apex" (concat) task
Running "concat:css-wikimediaui" (concat) task
Running "concat:jquery.i18n" (concat) task
Running "concat:jquery.uls.data" (concat) task
Running "less:dist" (less) task
>> 3 stylesheets created.
Running "clean:less" (clean) task
>> 3 paths cleaned.
Running "cssjanus:apex" (cssjanus) task
File "dist/visualEditor-apex.rtl.css" created.
Running "cssjanus:wikimediaui" (cssjanus) task
File "dist/visualEditor-wikimediaui.rtl.css" created.
Running "cssUrlEmbed:dist" (cssUrlEmbed) task
Processing source file "dist/visualEditor-apex.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-apex.css" created
Processing source file "dist/visualEditor-apex.rtl.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-apex.rtl.css" created
Processing source file "dist/visualEditor-wikimediaui.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-wikimediaui.css" created
Processing source file "dist/visualEditor-wikimediaui.rtl.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-wikimediaui.rtl.css" created
Running "copy:i18n" (copy) task
Copied 233 files
Running "copy:lib" (copy) task
Created 30 directories, copied 1538 files
Running "copy:codex" (copy) task
Copied 2 files
Running "buildloader:desktopDemoApex" (buildloader) task
>> File "demos/ve/desktop-apex.html" written.
Running "buildloader:desktopDemoApexDist" (buildloader) task
>> File "demos/ve/desktop-apex-dist.html" written.
Running "buildloader:desktopDemoWikimediaUI" (buildloader) task
>> File "demos/ve/desktop.html" written.
Running "buildloader:desktopDemoWikimediaUIDist" (buildloader) task
>> File "demos/ve/desktop-dist.html" written.
Running "buildloader:mobileDemo" (buildloader) task
>> File "demos/ve/mobile.html" written.
Running "buildloader:mobileDemoDist" (buildloader) task
>> File "demos/ve/mobile-dist.html" written.
Running "buildloader:minimalDemo" (buildloader) task
>> File "demos/ve/minimal.html" written.
Running "buildloader:minimalDemoRtl" (buildloader) task
>> File "demos/ve/minimal-rtl.html" written.
Running "buildloader:performanceTest" (buildloader) task
>> File "demos/ve/performance.html" written.
Running "buildloader:test" (buildloader) task
>> File "tests/index.html" written.
Done.
added 742 packages, and audited 743 packages in 20s
128 packages are looking for funding
run `npm fund` for details
8 vulnerabilities (3 low, 2 moderate, 1 high, 2 critical)
To address all issues (including breaking changes), run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stdout ---
> visualeditor@0.0.0 test
> grunt test
Running "tyops:src" (tyops) task
>> No typos found; 674 files checked for 21 typos.
Running "eslint:all" (eslint) task
/src/repo/src/dm/ve.dm.InternalList.js
62:1 warning The type 'nodes' is undefined jsdoc/no-undefined-types
173:1 warning Missing JSDoc @param "groupName" declaration jsdoc/require-param
173:1 warning Missing JSDoc @param "oldListKey" declaration jsdoc/require-param
173:1 warning Missing JSDoc @param "prefix" declaration jsdoc/require-param
173:1 warning Missing JSDoc @return declaration jsdoc/require-returns
/src/repo/src/dm/ve.dm.InternalListNodeGroup.js
24:1 warning The type 'keyedNodes' is undefined jsdoc/no-undefined-types
24:1 warning The type 'indexOrder' is undefined jsdoc/no-undefined-types
24:1 warning The type 'indexOrder' is undefined jsdoc/no-undefined-types
42:1 warning The type 'firstNodes' is undefined jsdoc/no-undefined-types
249:1 warning The type 'keyedNodes' is undefined jsdoc/no-undefined-types
/src/repo/src/dm/ve.dm.LinearData.js
42:1 warning Syntax error in namepath: 0 jsdoc/valid-types
43:1 warning Syntax error in namepath: 1 jsdoc/valid-types
/src/repo/src/dm/ve.dm.ModelRegistry.js
162:2 warning @throws should have a type jsdoc/require-throws-type
/src/repo/src/init/sa/ve.init.sa.Platform.js
189:23 warning Avoid direct access to localStorage. Use mw.storage instead mediawiki/no-storage
212:4 warning Avoid direct access to localStorage. Use mw.storage instead mediawiki/no-storage
/src/repo/src/init/ve.init.Platform.js
192:25 warning Avoid direct access to localStorage. Use mw.storage instead mediawiki/no-storage
202:27 warning Avoid direct access to sessionStorage. Use mw.storage.session instead mediawiki/no-storage
/src/repo/src/ui/dialogs/ve.ui.FindAndReplaceDialog.js
80:25 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
86:21 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
92:20 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
98:25 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
/src/repo/src/ui/widgets/ve.ui.LanguageInputWidget.js
77:3 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
81:3 warning OOUI button has no label. Even icon-only buttons should set a label with invisibleLabel set to true mediawiki/no-unlabeled-buttonwidget
✖ 23 problems (0 errors, 23 warnings)
0 errors and 3 warnings potentially fixable with the `--fix` option.
Running "stylelint:all" (stylelint) task
>> src/ui/styles/dialogs/ve.ui.FindAndReplaceDialog.less
>> 8:2 ⚠ Unexpected browser feature "flexbox-gap" is not supported by Safari 12,13,14,11.1,12.1,13.1, Safari on iOS 11.3-11.4,12.0-12.1,12.2-12.5,13.0-13.1,13.2,13.3,13.4-13.7,14.0-14.4 plugin/no-unsupported-browser-features
>>
>> ⚠ 1 problem (0 errors, 1 warning)
⚠ 1 warning
>> Linted 79 files without errors
Running "banana:all" (banana) task
>> 1 message directory checked.
Running "git-build" task
Running "clean:dist" (clean) task
>> 12 paths cleaned.
Running "concat:rebaser.build" (concat) task
Running "concat:visualEditor.rebase.scripts" (concat) task
Running "concat:visualEditor.rebase.styles" (concat) task
Running "concat:js" (concat) task
Running "concat:css-apex" (concat) task
Running "concat:css-wikimediaui" (concat) task
Running "concat:jquery.i18n" (concat) task
Running "concat:jquery.uls.data" (concat) task
Running "less:dist" (less) task
>> 3 stylesheets created.
Running "clean:less" (clean) task
>> 3 paths cleaned.
Running "cssjanus:apex" (cssjanus) task
File "dist/visualEditor-apex.rtl.css" created.
Running "cssjanus:wikimediaui" (cssjanus) task
File "dist/visualEditor-wikimediaui.rtl.css" created.
Running "cssUrlEmbed:dist" (cssUrlEmbed) task
Processing source file "dist/visualEditor-apex.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-apex.css" created
Processing source file "dist/visualEditor-apex.rtl.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-apex.rtl.css" created
Processing source file "dist/visualEditor-wikimediaui.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-wikimediaui.css" created
Processing source file "dist/visualEditor-wikimediaui.rtl.css"
5 embeddable URLs found
>> "../src/ui/styles/images/resize-nw-se.svg" embedded
>> "../src/ui/styles/images/resize-ne-sw.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-invert.svg" embedded
>> "../src/ui/styles/images/speechBubbleNotice-ltr-progressive.svg" embedded
File "dist/visualEditor-wikimediaui.rtl.css" created
Running "copy:i18n" (copy) task
Copied 233 files
Running "copy:lib" (copy) task
Created 30 directories, copied 1538 files
Running "copy:codex" (copy) task
Copied 2 files
Running "buildloader:desktopDemoApex" (buildloader) task
>> File "demos/ve/desktop-apex.html" written.
Running "buildloader:desktopDemoApexDist" (buildloader) task
>> File "demos/ve/desktop-apex-dist.html" written.
Running "buildloader:desktopDemoWikimediaUI" (buildloader) task
>> File "demos/ve/desktop.html" written.
Running "buildloader:desktopDemoWikimediaUIDist" (buildloader) task
>> File "demos/ve/desktop-dist.html" written.
Running "buildloader:mobileDemo" (buildloader) task
>> File "demos/ve/mobile.html" written.
Running "buildloader:mobileDemoDist" (buildloader) task
>> File "demos/ve/mobile-dist.html" written.
Running "buildloader:minimalDemo" (buildloader) task
>> File "demos/ve/minimal.html" written.
Running "buildloader:minimalDemoRtl" (buildloader) task
>> File "demos/ve/minimal-rtl.html" written.
Running "buildloader:performanceTest" (buildloader) task
>> File "demos/ve/performance.html" written.
Running "buildloader:test" (buildloader) task
>> File "tests/index.html" written.
Running "karma:chrome" (karma) task
START:
29 01 2026 00:12:43.330:WARN [filelist]: All files matched by "/src/repo/node_modules/qunit/qunit/qunit.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.331:WARN [filelist]: All files matched by "/src/repo/src/dm/ve.dm.RebaseClient.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.331:WARN [filelist]: All files matched by "/src/repo/src/dm/ve.dm.SurfaceSynchronizer.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.331:WARN [filelist]: All files matched by "/src/repo/src/ce/ve.ce.SurfaceSynchronizer.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.331:WARN [filelist]: All files matched by "/src/repo/src/ui/widgets/ve.ui.AuthorItemWidget.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.331:WARN [filelist]: All files matched by "/src/repo/src/ui/tools/ve.ui.AuthorListPopupTool.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.332:WARN [filelist]: All files matched by "/src/repo/src/ve.FakePeer.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.332:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.RebaseDocState.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.332:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.RebaseServer.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.332:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.DocumentStore.js" were excluded or matched by prior matchers.
29 01 2026 00:12:43.332:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.ProtocolServer.js" were excluded or matched by prior matchers.
29 01 2026 00:12:50.520:INFO [karma-server]: Karma v6.4.2 server started at http://localhost:9876/
29 01 2026 00:12:50.521:INFO [launcher]: Launching browsers ChromeCustom with concurrency unlimited
29 01 2026 00:12:50.525:INFO [launcher]: Starting browser ChromeHeadless
29 01 2026 00:12:51.319:INFO [Chrome Headless 142.0.0.0 (Linux x86_64)]: Connected on socket BpzezX52aBIrBh-4AAAB with id 96234057
Chrome Headless 142.0.0.0 (Linux x86_64) LOG: 'Less has finished and no sheets were loaded.'
Chrome Headless 142.0.0.0 (Linux x86_64) WARN: 'QUnit.load is deprecated and will be removed in QUnit 3.0. https://qunitjs.com/api/QUnit/load/'
ve
✔ compareClassLists
✔ isInstanceOfAny
✔ getDomAttributes
✔ setDomAttributes
✔ sparseSplice
✔ batchSplice
✔ batchPush
✔ insertIntoArray
✔ escapeHtml
✔ addHeadTag
✔ createDocumentFromHtml
✔ resolveUrl
✔ resolveAttributes
✔ fixBase
✔ isUriComponentValid
✔ safeDecodeURIComponent
✔ isBlockElement/isVoidElement
✔ graphemeSafeSubstring
✔ getCommonAncestor
✔ getCommonStartSequenceLength
✔ adjacentDomPosition
✔ deepFreeze
✔ deepFreeze (on cyclic structure)
✔ deepFreeze (recursive, aliased)
✔ ve.minimizeRects
ve.DiffMatchPatch
✔ indexOf/lastIndexOf
ve.EventSequencer
✔ EventSequencer
ve.Scheduler
✔ Call with no real async
✔ Call with delay
✔ Test that throws an exception
✔ Test that never succeeds
ve.Range
✔ Basic usage (isCollapsed, isBackwards, getLength, equals, equalsSelection, containsOffset, containsRange, touchesRange)
✔ Modification (flip, truncate, expand, translate)
✔ Factory methods & serialization (newCoveringRange, newFromJSON, toJSON)
ve.Document
✔ getDocumentNode
ve.Node
✔ getType
✔ getParent
✔ getRoot
ve.BranchNode
✔ getChildren
✔ indexOf
✔ setDocument
ve.sanitize
✔ ve.sanitizeHtml
✔ ve.sanitizeHtmlToDocument
✔ ve.setAttributeSafe
ve.FakePeer
✔ interactions
ve.dm.Annotation
✔ getHashObject
ve.dm.AnnotationSet
✔ Basic usage
✔ Comparable
ve.dm.LinkAnnotation
✔ getFragment
ve.dm.NodeFactory
✔ getChildNodeTypes
✔ getParentNodeTypes
✔ canNodeHaveChildren
✔ canNodeTakeAnnotation
✔ canNodeHaveChildrenNotContent
✔ initialization
✔ Unknown node type
ve.dm.Node
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ getLength
✔ getOuterLength
✔ setLength
✔ adjustLength
✔ getAttribute
✔ setRoot
✔ attach
✔ detach
✔ canBeMergedWith
✔ getClonedElement
ve.dm.Converter
✔ getModelFromDom
✔ getModelFromDom with store argument
✔ getDomFromModel
✔ getFullData
✔ roundTripMetadata
ve.dm.SourceConverter
✔ conversion
ve.dm.BranchNode
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ setRoot
✔ setDocument
✔ push
✔ pop
✔ unshift
✔ shift
✔ splice
✔ getAnnotationRanges
ve.dm.LeafNode
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ getAnnotations
ve.dm.TextNode
✔ getOuterLength
ve.dm.Document
✔ constructor
✔ newBlankDocument
✔ getData
✔ getFullData
✔ cloneFromRange
✔ cloneFromRange and rebuildTree (InternalList)
✔ getRelativeOffset
✔ getRelativeRange
✔ getBranchNodeFromOffset
✔ hasSlugAtOffset
✔ getDataFromNode
✔ getOuterLength
✔ selectNodes
✔ rangeInsideOneLeafNode
✔ shallowCloneFromRange
✔ protection against double application of transactions
✔ getNearestCursorOffset
✔ Selection equality
✔ findText (plain text)
✔ findText (non-text content)
✔ fixupInsertion
✔ read-only and offset caching
✔ MemoizedTextFinder
ve.dm.HashValueStore
✔ hash(es)
✔ value(s)
✔ slice
ve.dm.InternalList
✔ getDocument
✔ queueItemHtml
✔ convertToData
✔ clone
✔ getItemInsertion
✔ merge (no common element)
✔ merge with conflicting listKeys (one common element)
ve.dm.InternalListNodeGroup
✔ empty
✔ appendNode
✔ appendNodeWithKnownIndex & unsetNode
✔ insertNodeInDocumentOrder in reverse document order
✔ insertNodeInDocumentOrder with known index
✔ getUniqueListKey
ve.dm.LinearData
✔ basic usage
✔ slice(Object)/splice(Object)/batchSplice(Object)
✔ static methods: getType, isElementData, isOpenElementData, isCloseElementData
✔ push
✔ getDataSlice
✔ clone
✔ getType/isOpenElementData/isCloseElementData
✔ isElementData
✔ getAnnotationsFromOffset
✔ getAnnotationsFromRange
✔ getInsertionAnnotationsFromRange
✔ getAnnotatedRangeFromOffset/getAnnotatedRangeFromRange
✔ trimOuterSpaceFromRange
✔ isContentOffset
✔ isStructuralOffset
✔ getCharacterData
✔ isPlainText
✔ getText
✔ getSourceText
✔ isContentData
✔ getRelativeOffset
✔ getRelativeContentOffset
✔ getNearestContentOffset
✔ getRelativeStructuralOffset
✔ getNearestStructuralOffset
✔ getWordRange
✔ sanitize
✔ countNonInternalElements
✔ hasContent
✔ getAnnotationHashesFromOffset
✔ compareElements and compareElementsUnannotated
✔ setAnnotationsAtOffset
ve.dm.Transaction
✔ translateOffset
✔ translateRange
✔ getModifiedRange
✔ Metadata transactions
ve.dm.TransactionBuilder
✔ newFromInsertion
✔ newFromRemoval
✔ newFromReplacement
✔ newFromDocumentInsertion
✔ newFromAttributeChanges
✔ newFromAnnotation
✔ newFromContentBranchConversion
✔ newFromWrap
✔ pushRetain
✔ pushReplacement
✔ pushReplaceElementAttribute
✔ isNoOp
✔ operations/build from operations
✔ newFromRemoval preserving metadata
ve.dm.TransactionSquasher
✔ squash
ve.dm.Change
✔ rebaseTransactions
✔ Change operations
✔ Rebase with conflicting annotations
✔ toJSON/deserialize/unsafeDeserialize
✔ Minified serialization
✔ Same-offset typing
ve.dm.RebaseServer
✔ Rebase
ve.dm.DocumentStore
✔ Create
ve.dm.TransportServer
✔ Create
ve.dm.TreeModifier
✔ treeDiff
✔ modify
✔ bare content
✔ unbalanced insertion
✔ retain and merge inline node
✔ applyTreeOperation: ensureNotText
✔ setupBlockSlugs
✔ checkEqualData
✔ TreeCursor#crossIgnoredNodes
✔ TreeCursor#normalizeCursor
ve.dm.TransactionProcessor
✔ commit
✔ undo clear annotation
ve.dm.Surface
✔ getDocument
✔ getSelection
✔ setSelection out of range
✔ contextChange events
✔ documentUpdate/select events
✔ breakpoint/undo/redo
✔ multi-user undo
✔ change rollback
✔ range translation
✔ staging
✔ getOffsetFromSourceOffset / getSourceOffsetFromOffset / getRangeFromSourceOffsets
✔ autosave
✔ getSelectedNodeFromSelection (skipped)
ve.dm.SurfaceFragment
✔ constructor
✔ update
✔ getSelectedModels
✔ getAnnotations
✔ hasAnnotations
✔ adjustLinearSelection
✔ truncateLinearSelection
✔ collapseToStart/End
✔ expandLinearSelection (annotation)
✔ expandLinearSelection (closest)
✔ expandLinearSelection (word)
✔ removeContent
✔ delete
✔ insertContent/insertDocument
✔ changeAttributes
✔ annotateContent
✔ wrapNodes/unwrapNodes
✔ rewrapNodes
✔ wrapAllNodes
✔ rewrapAllNodes
✔ isolateAndUnwrap
ve.dm.SourceSurfaceFragment
✔ insertContent/insertDocument
ve.dm.ModelRegistry
✔ register/unregister/matchElement
✔ isAnnotation
ve.dm.MetaList
✔ constructor/getItems/getItemsInGroup/indexOf
✔ onNodeAttached/onNodeDetached
ve.dm.Scalable
✔ construction/clone/getters/setters/toggleDefault/clearers
✔ getBoundedDimensions/getCurrentScale/isCurrentDimensionsValid/isTooSmall/isTooLarge
✔ isDefault/toggleDefault
✔ isDimensionsObjectValid
✔ getDimensionsFromValue
ve.dm.LinearSelection
✔ Construction and getters (getRange(s))
✔ Basic methods (collapse*, isCollased, equals, isNull)
✔ Factory methods & serialization (newFromJSON, toJSON, getDescription)
ve.dm.NullSelection
✔ Construction and getters (getDocument, getRanges)
✔ Basic methods (collapse*, isCollased, equals, isNull)
✔ Factory methods & serialization (newFromJSON, toJSON, getDescription)
ve.dm.TableSelection
✔ Construction and getters (getDocument, getRanges, getOuterRanges, getTableNode)
✔ Basic methods (expand, collapse*, getRange(s), isCollased, isSingleCell, equals, isNull, isFullRow/Col, getRow/ColCount)
✔ Factory methods & serialization (newFromJSON, toJSON, getDescription)
ve.ce
✔ getDomHash/getDomText (with ve.dm.Converter)
✔ getDomHash/getDomText (without ve.dm.Converter)
✔ getOffset
✔ isShortcutKey
✔ nextCursorOffset
✔ resolveTestOffset
✔ fakeImes
✔ isAfterAnnotationBoundary
ve.ce.Document
✔ Converter tests
✔ getNodeAndOffset
✔ attachedRoot
ve.ce.ClipboardHandler
✔ getClipboardHash
✔ onCopy
29 01 2026 00:12:56.265:WARN [web-server]: 404: /null
✔ beforePaste/afterPaste
ve.ce.DragDropHandler
✔ onDocumentDragStart/onDocumentDrop
ve.ce.Surface
✔ handleObservedChanges (content changes)
✔ handleDataTransfer/handleDataTransferItems
✔ getSelectionState
✔ findBlockSlug
✔ selectFirstSelectableContentOffset/selectLastSelectableContentOffset
✔ getViewportRange
✔ afterMutations
ve.ce.RangeState
✔ Basic tests
ve.ce.TextState
✔ getChangeTransaction
✔ getChunks
ve.ce.NodeFactory
✔ splitNodeOnEnter/getDescription
✔ initialization
ve.ce.AnnotationFactory
✔ canAnnotationBeActive/getDescription
✔ initialization
ve.ce.Node
✔ getModel
✔ getParent
✔ attach
✔ detach
ve.ce.BranchNode
✔ splitOnEnter
✔ canHaveChildren
✔ canHaveChildrenNotContent
✔ updateTagName
✔ getDomPosition
✔ onSplice
ve.ce.ContentBranchNode
✔ getRenderedContents
ve.ce.LeafNode
✔ splitOnEnter
✔ canHaveChildren
✔ canHaveChildrenNotContent
ve.ce.Selection
✔ Rects
✔ getDirectionality
✔ equals
ve.ce.LinearArrowKeyDownHandler
✔ special key down: linear arrow keys
ve.ce.LinearDeleteKeyDownHandler
✔ special key down: linear backspace/delete
ve.ce.LinearEnterKeyDownHandler
✔ special key down: linear enter
ve.ce.LinearEscapeKeyDownHandler
✔ special key down: linear escape
ve.ce.TableArrowKeyDownHandler
✔ special key down: table arrow keys (complex movements)
✔ special key down: table arrow keys (simple movements)
ve.ce.TableDeleteKeyDownHandler
✔ special key down: table backspace/delete
ve.ce.TableEnterKeyDownHandler
✔ special key down: table enter
ve.ce.TableF2KeyDownHandler
✔ special key down: table f2
ve.ce.ResizableNode
✔ updateSizeLabel
✔ resize events
✔ notResizable
ve.ce.TextNode
✔ getAnnotatedHtml
ve.ce.TableNode
✔ getNearestCellNode
✔ getFirstSectionNode
✔ onTableMouseDown/onTableMouseMove/onTableMouseUp/onTableDblClick
✔ onTableMouseDown
ve.init.Target
✔ createModelFromDom/parseDocument (source mode)
ve.init.sa.Platform
✔ getUserConfig
✔ setUserConfig
✔ messages
✔ parsedMessage
ve.init.ConflictableStorage
✔ Basic methods
✔ Conflict handling
ve.ui.DataTransferHandlerFactory
✔ getHandlerNameForItem
ve.ui.Trigger
✔ constructor
ve.ui.TriggerRegistry
✔ register, getNameByTrigger, getMessages
ve.ui.Sequence
✔ findAndExecuteSequences
✔ getMessage
ve.ui.DiffElement
✔ Diffing
✔ compareAttributes/describeChanges
ve.ui.PreviewElement
✔ Basic tests
ve.ui.AnnotationAction
✔ toggle
✔ set and clear
✔ clearAll
ve.ui.BlockquoteAction
✔ wrap/unwrap/toggle
ve.ui.ContentAction
✔ insert/remove/select/selectAll
✔ changeDirectionality
✔ focusContext
ve.ui.FormatAction
✔ convert
ve.ui.IndentationAction
✔ increase/decrease
ve.ui.LinkAction
✔ autolink
ve.ui.ListAction
✔ (un)wrap
✔ toggle
ve.ui.TableAction
✔ create / insert / mergeCells / delete / changeCellStyle / moveRelative
ve.ui.WindowAction
✔ Basic open/close
ve.ui.DSVFileTransferHandler
✔ getInsertableData
ve.ui.UrlStringTransferHandler
✔ paste
ve.ui.FindAndReplaceDialog
✔ find fragments
✔ replace all
ve.ui.FragmentInspector
✔ Different selections and inputs
Finished in 11.243 secs / 10.911 secs @ 00:13:03 GMT+0000 (Coordinated Universal Time)
SUMMARY:
✔ 348 tests completed
ℹ 1 test skipped
=============================== Coverage summary ===============================
Statements : 82.54% ( 19109/23149 )
Branches : 74.16% ( 8321/11220 )
Functions : 75.28% ( 2696/3581 )
Lines : 82.42% ( 18796/22804 )
================================================================================
Running "karma:firefox" (karma) task
29 01 2026 00:13:04.867:WARN [filelist]: All files matched by "/src/repo/node_modules/qunit/qunit/qunit.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/src/dm/ve.dm.RebaseClient.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/src/dm/ve.dm.SurfaceSynchronizer.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/src/ce/ve.ce.SurfaceSynchronizer.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/src/ui/widgets/ve.ui.AuthorItemWidget.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/src/ui/tools/ve.ui.AuthorListPopupTool.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/src/ve.FakePeer.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.RebaseDocState.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.RebaseServer.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.DocumentStore.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.868:WARN [filelist]: All files matched by "/src/repo/rebaser/src/dm/ve.dm.ProtocolServer.js" were excluded or matched by prior matchers.
29 01 2026 00:13:04.937:INFO [karma-server]: Karma v6.4.2 server started at http://localhost:9876/
29 01 2026 00:13:04.938:INFO [launcher]: Launching browsers FirefoxHeadless with concurrency unlimited
29 01 2026 00:13:04.944:INFO [launcher]: Starting browser FirefoxHeadless
29 01 2026 00:13:07.185:INFO [Firefox 140.0 (Linux x86_64)]: Connected on socket 3RDMEAQ6Mr9AqyUcAAAD with id 57181295
Firefox 140.0 (Linux x86_64) LOG: 'Less has finished and no sheets were loaded.'
Firefox 140.0 (Linux x86_64) WARN: 'QUnit.load is deprecated and will be removed in QUnit 3.0. https://qunitjs.com/api/QUnit/load/'
................................................................................
................................................................................
................................................................................
........................29 01 2026 00:13:12.037:WARN [web-server]: 404: /null
WARN: 'Test "beforePaste/afterPaste" took longer than 3000ms, but no timeout was set. Set QUnit.config.testTimeout or call assert.timeout() to avoid a timeout in QUnit 3. https://qunitjs.com/api/config/testTimeout/'
................................................................................
....
Firefox 140.0 (Linux x86_64): Executed 348 of 349 (skipped 1) SUCCESS (11.476 secs / 11.386 secs)
Done.
--- end ---
{"1112455": {"source": 1112455, "name": "lodash", "dependency": "lodash", "title": "Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions", "url": "https://github.com/advisories/GHSA-xxjr-mmjv-4gpg", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"}, "range": ">=4.0.0 <=4.17.22"}}
Upgrading n:lodash from 4.17.21 -> 4.17.23
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json
--- end ---
build: Updating lodash to 4.17.23
* https://github.com/advisories/GHSA-xxjr-mmjv-4gpg
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpf2njzh8j
--- stdout ---
[master e5f69cb] build: Updating lodash to 4.17.23
1 file changed, 6 insertions(+), 6 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From e5f69cbc477bbdd0d7a5951b0beda6103d87fd79 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 29 Jan 2026 00:13:20 +0000
Subject: [PATCH] build: Updating lodash to 4.17.23
* https://github.com/advisories/GHSA-xxjr-mmjv-4gpg
Change-Id: I86ccebdb21053b77544fddf887433a9d2ae1b4be
---
package-lock.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 253cb43..fce38b8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -5953,9 +5953,9 @@
}
},
"node_modules/lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
+ "version": "4.17.23",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz",
+ "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==",
"dev": true
},
"node_modules/lodash.memoize": {
@@ -13366,9 +13366,9 @@
}
},
"lodash": {
- "version": "4.17.21",
- "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
- "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
+ "version": "4.17.23",
+ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.23.tgz",
+ "integrity": "sha512-LgVTMpQtIopCi79SJeDiP0TfWi5CNEc/L/aRdTh3yIvmZXTnheWpKjSZhnvMl8iXbC1tFg9gdHHDMLoV7CnG+w==",
"dev": true
},
"lodash.memoize": {
--
2.47.3
--- end ---