This run took 48 seconds.
From ce9602bd829e68617dfb1c49363484f24366437c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 17 Mar 2026 11:14:08 +0000
Subject: [PATCH] build: Updating flatted to 3.4.1
* https://github.com/advisories/GHSA-25h7-pfq9-p65f
Change-Id: If52f98dcb09b13d7952db19c8e8ea8233819219f
---
npm-shrinkwrap.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index cbdbb0b..3675eb5 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -3112,9 +3112,9 @@
}
},
"node_modules/flatted": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
+ "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
"dev": true
},
"node_modules/foreground-child": {
@@ -8207,9 +8207,9 @@
}
},
"flatted": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
+ "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
"dev": true
},
"foreground-child": {
--
2.47.3
$ date
--- stdout ---
Tue Mar 17 11:13:22 UTC 2026
--- end ---
$ git clone file:///srv/git/performance-fresnel.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 ---
4eb15b28fbe9771d4a1fe8eefeba27e48eb508bd refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"flatted": {
"name": "flatted",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1114526,
"name": "flatted",
"dependency": "flatted",
"title": "flatted vulnerable to unbounded recursion DoS in parse() revive phase",
"url": "https://github.com/advisories/GHSA-25h7-pfq9-p65f",
"severity": "high",
"cwe": [
"CWE-674"
],
"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": "<3.4.0"
}
],
"effects": [],
"range": "<3.4.0",
"nodes": [
"node_modules/flatted"
],
"fixAvailable": true
},
"js-yaml": {
"name": "js-yaml",
"severity": "moderate",
"isDirect": true,
"via": [
{
"source": 1112715,
"name": "js-yaml",
"dependency": "js-yaml",
"title": "js-yaml has prototype pollution in merge (<<)",
"url": "https://github.com/advisories/GHSA-mh29-5h37-fv8m",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
"range": ">=4.0.0 <4.1.1"
}
],
"effects": [],
"range": "4.0.0 - 4.1.0",
"nodes": [
"node_modules/js-yaml"
],
"fixAvailable": {
"name": "js-yaml",
"version": "4.1.1",
"isSemVerMajor": false
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 1,
"high": 1,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 58,
"dev": 436,
"optional": 3,
"peer": 1,
"peerOptional": 0,
"total": 495
}
}
}
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"flatted": {
"name": "flatted",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1114526,
"name": "flatted",
"dependency": "flatted",
"title": "flatted vulnerable to unbounded recursion DoS in parse() revive phase",
"url": "https://github.com/advisories/GHSA-25h7-pfq9-p65f",
"severity": "high",
"cwe": [
"CWE-674"
],
"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": "<3.4.0"
}
],
"effects": [],
"range": "<3.4.0",
"nodes": [
"node_modules/flatted"
],
"fixAvailable": true
},
"js-yaml": {
"name": "js-yaml",
"severity": "moderate",
"isDirect": true,
"via": [
{
"source": 1112715,
"name": "js-yaml",
"dependency": "js-yaml",
"title": "js-yaml has prototype pollution in merge (<<)",
"url": "https://github.com/advisories/GHSA-mh29-5h37-fv8m",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
"range": ">=4.0.0 <4.1.1"
}
],
"effects": [],
"range": "4.0.0 - 4.1.0",
"nodes": [
"node_modules/js-yaml"
],
"fixAvailable": {
"name": "js-yaml",
"version": "4.1.1",
"isSemVerMajor": false
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 1,
"high": 1,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 58,
"dev": 436,
"optional": 3,
"peer": 1,
"peerOptional": 0,
"total": 495
}
}
}
--- 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
--- stdout ---
{
"added": 495,
"removed": 0,
"changed": 0,
"audited": 496,
"funding": 93,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"flatted": {
"name": "flatted",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1114526,
"name": "flatted",
"dependency": "flatted",
"title": "flatted vulnerable to unbounded recursion DoS in parse() revive phase",
"url": "https://github.com/advisories/GHSA-25h7-pfq9-p65f",
"severity": "high",
"cwe": [
"CWE-674"
],
"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": "<3.4.0"
}
],
"effects": [],
"range": "<3.4.0",
"nodes": [
""
],
"fixAvailable": true
},
"js-yaml": {
"name": "js-yaml",
"severity": "moderate",
"isDirect": true,
"via": [
{
"source": 1112715,
"name": "js-yaml",
"dependency": "js-yaml",
"title": "js-yaml has prototype pollution in merge (<<)",
"url": "https://github.com/advisories/GHSA-mh29-5h37-fv8m",
"severity": "moderate",
"cwe": [
"CWE-1321"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
},
"range": ">=4.0.0 <4.1.1"
}
],
"effects": [],
"range": "4.0.0 - 4.1.0",
"nodes": [
"node_modules/js-yaml"
],
"fixAvailable": {
"name": "js-yaml",
"version": "4.1.1",
"isSemVerMajor": false
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 1,
"high": 1,
"critical": 0,
"total": 2
},
"dependencies": {
"prod": 58,
"dev": 436,
"optional": 3,
"peer": 1,
"peerOptional": 0,
"total": 495
}
}
}
}
--- end ---
{"added": 495, "removed": 0, "changed": 0, "audited": 496, "funding": 93, "audit": {"auditReportVersion": 2, "vulnerabilities": {"flatted": {"name": "flatted", "severity": "high", "isDirect": false, "via": [{"source": 1114526, "name": "flatted", "dependency": "flatted", "title": "flatted vulnerable to unbounded recursion DoS in parse() revive phase", "url": "https://github.com/advisories/GHSA-25h7-pfq9-p65f", "severity": "high", "cwe": ["CWE-674"], "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": "<3.4.0"}], "effects": [], "range": "<3.4.0", "nodes": [""], "fixAvailable": true}, "js-yaml": {"name": "js-yaml", "severity": "moderate", "isDirect": true, "via": [{"source": 1112715, "name": "js-yaml", "dependency": "js-yaml", "title": "js-yaml has prototype pollution in merge (<<)", "url": "https://github.com/advisories/GHSA-mh29-5h37-fv8m", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"}, "range": ">=4.0.0 <4.1.1"}], "effects": [], "range": "4.0.0 - 4.1.0", "nodes": ["node_modules/js-yaml"], "fixAvailable": {"name": "js-yaml", "version": "4.1.1", "isSemVerMajor": false}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 1, "high": 1, "critical": 0, "total": 2}, "dependencies": {"prod": 58, "dev": 436, "optional": 3, "peer": 1, "peerOptional": 0, "total": 495}}}}
$ /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 deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
--- stdout ---
added 495 packages, and audited 496 packages in 13s
93 packages are looking for funding
run `npm fund` for details
# npm audit report
js-yaml 4.0.0 - 4.1.0
Severity: moderate
js-yaml has prototype pollution in merge (<<) - https://github.com/advisories/GHSA-mh29-5h37-fv8m
fix available via `npm audit fix --force`
Will install js-yaml@4.1.1, which is outside the stated dependency range
node_modules/js-yaml
1 moderate severity vulnerability
To address all issues, run:
npm audit fix --force
--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm WARN deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
--- stdout ---
added 495 packages, and audited 496 packages in 14s
93 packages are looking for funding
run `npm fund` for details
1 moderate severity vulnerability
To address all issues, run:
npm audit fix --force
Run `npm audit` for details.
--- end ---
$ /usr/bin/npm test
--- stderr ---
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
--- stdout ---
> fresnel@1.1.1 test
> nyc qunit && eslint . && npm run doc
TAP version 13
ok 1 writer > get()
ok 2 e2e/cli > record
ok 3 e2e/cli > compare - forward
ok 4 e2e/cli > compare - backward
ok 5 e2e/cli > record - error
ok 6 e2e/cli > compare - error
ok 7 e2e/cli > help
ok 8 e2e/cli > help record
ok 9 e2e/cli > help compare
ok 10 e2e/cli > version
ok 11 e2e/cli > unknown command
ok 12 compute > stats()
ok 13 compute > diffStdev() - decrease
ok 14 compute > diffStdev() - increase
ok 15 compute > diffStdev() - unchanged
ok 16 compute > diffMannWhitney() - unchanged
ok 17 compute > diffMannWhitney() - increase
ok 18 compute > diffMannWhitney() - decrease
ok 19 compute > diffMannWhitney() - unchanged, tied ranks
ok 20 compute > diffMannWhitney() - increase, tied ranks
ok 21 compute > diffMannWhitney() - decrease, tied ranks
ok 22 compute > diffMannWhitney() - exactly the same
ok 23 e2e/conductor > record() - clean state per run
ok 24 e2e/conductor > record() - result
ok 25 e2e/conductor > compare()
ok 26 util/is > like() - single type
ok 27 util/is > like() - multi type
ok 28 util/is > like() - plain object
ok 29 util/is > config()
ok 30 printer > format()
ok 31 e2e/probes > transfer - record
ok 32 e2e/probes > transfer - compare
ok 33 writer > Writer#constructor()
ok 34 writer > Writer#child()
ok 35 writer > Writer#prefix()
1..35
# pass 35
# skip 0
# todo 0
# fail 0
----------------|---------|----------|---------|---------|-------------------
File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
----------------|---------|----------|---------|---------|-------------------
All files | 100 | 94.91 | 100 | 100 |
src | 100 | 95.45 | 100 | 100 |
cli.js | 100 | 93.1 | 100 | 100 | 105,117
conductor.js | 100 | 96.66 | 100 | 100 | 70
printer.js | 100 | 95.74 | 100 | 100 | 51,106
recorder.js | 100 | 75 | 100 | 100 | 83
src/reports | 100 | 76.92 | 100 | 100 |
transfer.js | 100 | 76.92 | 100 | 100 | 30
----------------|---------|----------|---------|---------|-------------------
/src/repo/bin/fresnel.js
10:4 warning Don't use process.exit(); throw an error instead n/no-process-exit
13:4 warning Don't use process.exit(); throw an error instead n/no-process-exit
/src/repo/src/Writer.js
44:4 warning Found mkdirSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename
/src/repo/src/conductor.js
200:2 warning Found writeFileSync from package "fs" with non literal argument at index 0 security/detect-non-literal-fs-filename
222:16 warning Found non-literal argument in require security/detect-non-literal-require
223:16 warning Found non-literal argument in require security/detect-non-literal-require
/src/repo/src/probes/navtiming.js
13:17 warning The 'performance' is still an experimental feature and is not supported until Node.js 16.0.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
13:17 warning The 'performance.getEntriesByType' is still an experimental feature and is not supported until Node.js 16.7.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
/src/repo/src/probes/paint.js
14:2 warning The 'performance' is still an experimental feature and is not supported until Node.js 16.0.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
14:2 warning The 'performance.getEntriesByType' is still an experimental feature and is not supported until Node.js 16.7.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
/src/repo/src/probes/transfer.js
13:9 warning The 'performance' is still an experimental feature and is not supported until Node.js 16.0.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
13:9 warning The 'performance.getEntriesByType' is still an experimental feature and is not supported until Node.js 16.7.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
14:12 warning The 'performance' is still an experimental feature and is not supported until Node.js 16.0.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
14:12 warning The 'performance.getEntriesByType' is still an experimental feature and is not supported until Node.js 16.7.0. The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
/src/repo/src/reports/transfer.js
94:5 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
103:5 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
111:5 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
120:5 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
128:5 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
136:5 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
/src/repo/test/cli.e2e.js
51:20 warning Found non-literal argument in require security/detect-non-literal-require
/src/repo/test/conductor.e2e.js
33:15 warning The 'localStorage' is still an experimental feature The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
36:7 warning The 'localStorage' is still an experimental feature The configured version range is '>=14.14.0' n/no-unsupported-features/node-builtins
/src/repo/test/probes.e2e.js
44:5 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
63:10 warning ES2024 'ArrayBuffer.prototype.transfer' method is forbidden es-x/no-arraybuffer-prototype-transfer
/src/repo/test/writer.unit.js
25:4 warning Unexpected assert.ok. Use assert.strictEqual, assert.notStrictEqual, assert.deepEqual, or assert.propEqual qunit/no-loose-assertions
29:4 warning Unexpected assert.ok. Use assert.strictEqual, assert.notStrictEqual, assert.deepEqual, or assert.propEqual qunit/no-loose-assertions
✖ 27 problems (0 errors, 27 warnings)
> fresnel@1.1.1 doc
> jsdoc2md --template build/api.partial.hbs src/*.js src/**/*.js > API.md
--- end ---
{"1114526": {"source": 1114526, "name": "flatted", "dependency": "flatted", "title": "flatted vulnerable to unbounded recursion DoS in parse() revive phase", "url": "https://github.com/advisories/GHSA-25h7-pfq9-p65f", "severity": "high", "cwe": ["CWE-674"], "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": "<3.4.0"}}
Upgrading n:flatted from 3.3.3 -> 3.4.1
$ package-lock-lint /src/repo/npm-shrinkwrap.json
--- stdout ---
Checking /src/repo/npm-shrinkwrap.json
--- end ---
build: Updating flatted to 3.4.1
* https://github.com/advisories/GHSA-25h7-pfq9-p65f
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpyodx0z9j
--- stdout ---
[master ce9602b] build: Updating flatted to 3.4.1
1 file changed, 6 insertions(+), 6 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From ce9602bd829e68617dfb1c49363484f24366437c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 17 Mar 2026 11:14:08 +0000
Subject: [PATCH] build: Updating flatted to 3.4.1
* https://github.com/advisories/GHSA-25h7-pfq9-p65f
Change-Id: If52f98dcb09b13d7952db19c8e8ea8233819219f
---
npm-shrinkwrap.json | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json
index cbdbb0b..3675eb5 100644
--- a/npm-shrinkwrap.json
+++ b/npm-shrinkwrap.json
@@ -3112,9 +3112,9 @@
}
},
"node_modules/flatted": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
+ "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
"dev": true
},
"node_modules/foreground-child": {
@@ -8207,9 +8207,9 @@
}
},
"flatted": {
- "version": "3.3.3",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
- "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.1.tgz",
+ "integrity": "sha512-IxfVbRFVlV8V/yRaGzk0UVIcsKKHMSfYw66T/u4nTwlWteQePsxe//LjudR1AMX4tZW3WFCh3Zqa/sjlqpbURQ==",
"dev": true
},
"foreground-child": {
--
2.47.3
--- end ---