mediawiki/services/citoid (main)

sourcepatches
From 71b73c4d2a701f1ee9985d73b5765c847ef7e8e9 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 17 Mar 2026 10:10:04 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* flatted: 3.3.1 → 3.4.1
  * https://github.com/advisories/GHSA-25h7-pfq9-p65f
* undici: 7.22.0 → 7.24.4
  * https://github.com/advisories/GHSA-2mjp-6q6p-2qxm
  * https://github.com/advisories/GHSA-4992-7rv2-5pvq
  * https://github.com/advisories/GHSA-f269-vfmq-vjvj
  * https://github.com/advisories/GHSA-phc3-fgpg-7m6h
  * https://github.com/advisories/GHSA-v9p9-hfj2-hcw8
  * https://github.com/advisories/GHSA-vrm6-8vpv-qv8q

Change-Id: Id25d9dd8fe98366ae82b1d5a9cbf8e8e2811684e
---
 package-lock.json | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index e0473d3..5d492c6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3857,9 +3857,9 @@
 			}
 		},
 		"node_modules/flatted": {
-			"version": "3.3.1",
-			"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
-			"integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
+			"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": {
@@ -8412,10 +8412,9 @@
 			}
 		},
 		"node_modules/undici": {
-			"version": "7.22.0",
-			"resolved": "https://registry.npmjs.org/undici/-/undici-7.22.0.tgz",
-			"integrity": "sha512-RqslV2Us5BrllB+JeiZnK4peryVTndy9Dnqq62S3yYRRTj0tFQCwEniUy2167skdGOy3vqRzEvl1Dm4sV2ReDg==",
-			"license": "MIT",
+			"version": "7.24.4",
+			"resolved": "https://registry.npmjs.org/undici/-/undici-7.24.4.tgz",
+			"integrity": "sha512-BM/JzwwaRXxrLdElV2Uo6cTLEjhSb3WXboncJamZ15NgUURmvlXvxa6xkwIOILIjPNo9i8ku136ZvWV0Uly8+w==",
 			"engines": {
 				"node": ">=20.18.1"
 			}
-- 
2.47.3

$ date
--- stdout ---
Tue Mar 17 10:08:11 UTC 2026

--- end ---
$ git clone file:///srv/git/mediawiki-services-citoid.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 ---
2a9cb363588f263043d4f22068bb8083f26d1bbd refs/heads/master

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "diff": {
      "name": "diff",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1112706,
          "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": ">=6.0.0 <8.0.3"
        }
      ],
      "effects": [
        "mocha"
      ],
      "range": "6.0.0 - 8.0.2",
      "nodes": [
        "node_modules/diff"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "11.3.0",
        "isSemVerMajor": true
      }
    },
    "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
    },
    "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": false
    },
    "ip": {
      "name": "ip",
      "severity": "high",
      "isDirect": true,
      "via": [
        {
          "source": 1101851,
          "name": "ip",
          "dependency": "ip",
          "title": "ip SSRF improper categorization in isPublic",
          "url": "https://github.com/advisories/GHSA-2p57-rm9w-gvfp",
          "severity": "high",
          "cwe": [
            "CWE-918"
          ],
          "cvss": {
            "score": 8.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "range": "<=2.0.1"
        }
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/ip"
      ],
      "fixAvailable": false
    },
    "limitation": {
      "name": "limitation",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        "wikimedia-kad-fork"
      ],
      "effects": [
        "service-runner"
      ],
      "range": ">=0.2.3",
      "nodes": [
        "node_modules/limitation"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    },
    "mocha": {
      "name": "mocha",
      "severity": "high",
      "isDirect": true,
      "via": [
        "diff",
        "serialize-javascript"
      ],
      "effects": [],
      "range": "8.0.0 - 12.0.0-beta-3",
      "nodes": [
        "node_modules/mocha"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "11.3.0",
        "isSemVerMajor": true
      }
    },
    "ms": {
      "name": "ms",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1109573,
          "name": "ms",
          "dependency": "ms",
          "title": "Vercel ms Inefficient Regular Expression Complexity vulnerability",
          "url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f",
          "severity": "moderate",
          "cwe": [
            "CWE-1333"
          ],
          "cvss": {
            "score": 5.3,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": "<2.0.0"
        }
      ],
      "effects": [
        "wikimedia-kad-fork"
      ],
      "range": "<2.0.0",
      "nodes": [
        "node_modules/wikimedia-kad-fork/node_modules/ms"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    },
    "preq": {
      "name": "preq",
      "severity": "high",
      "isDirect": true,
      "via": [
        "request",
        "requestretry"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/preq"
      ],
      "fixAvailable": false
    },
    "qs": {
      "name": "qs",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1113719,
          "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": "moderate",
          "cwe": [
            "CWE-20"
          ],
          "cvss": {
            "score": 3.7,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": "<6.14.1"
        }
      ],
      "effects": [
        "request"
      ],
      "range": "<6.14.1",
      "nodes": [
        "node_modules/request/node_modules/qs"
      ],
      "fixAvailable": false
    },
    "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": [
        "preq",
        "requestretry"
      ],
      "range": "*",
      "nodes": [
        "node_modules/request"
      ],
      "fixAvailable": false
    },
    "requestretry": {
      "name": "requestretry",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1090420,
          "name": "requestretry",
          "dependency": "requestretry",
          "title": "Cookie exposure in requestretry",
          "url": "https://github.com/advisories/GHSA-hjp8-2cm3-cc45",
          "severity": "high",
          "cwe": [
            "CWE-200"
          ],
          "cvss": {
            "score": 7.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
          },
          "range": "<7.0.0"
        },
        "request"
      ],
      "effects": [
        "preq"
      ],
      "range": "<=7.1.0",
      "nodes": [
        "node_modules/requestretry"
      ],
      "fixAvailable": false
    },
    "serialize-javascript": {
      "name": "serialize-javascript",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1113686,
          "name": "serialize-javascript",
          "dependency": "serialize-javascript",
          "title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()",
          "url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq",
          "severity": "high",
          "cwe": [
            "CWE-96"
          ],
          "cvss": {
            "score": 8.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "range": "<=7.0.2"
        }
      ],
      "effects": [
        "mocha"
      ],
      "range": "<=7.0.2",
      "nodes": [
        "node_modules/serialize-javascript"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "11.3.0",
        "isSemVerMajor": true
      }
    },
    "service-runner": {
      "name": "service-runner",
      "severity": "high",
      "isDirect": true,
      "via": [
        "limitation",
        "tar"
      ],
      "effects": [],
      "range": ">=3.0.0",
      "nodes": [
        "node_modules/service-runner"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    },
    "tar": {
      "name": "tar",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1112659,
          "name": "tar",
          "dependency": "tar",
          "title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal",
          "url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v",
          "severity": "high",
          "cwe": [
            "CWE-22",
            "CWE-59"
          ],
          "cvss": {
            "score": 8.2,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
          },
          "range": "<7.5.7"
        },
        {
          "source": 1113300,
          "name": "tar",
          "dependency": "tar",
          "title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization",
          "url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97",
          "severity": "high",
          "cwe": [
            "CWE-22"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<=7.5.2"
        },
        {
          "source": 1113375,
          "name": "tar",
          "dependency": "tar",
          "title": "Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction",
          "url": "https://github.com/advisories/GHSA-83g3-92jg-28cx",
          "severity": "high",
          "cwe": [
            "CWE-22"
          ],
          "cvss": {
            "score": 7.1,
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
          },
          "range": "<7.5.8"
        },
        {
          "source": 1114200,
          "name": "tar",
          "dependency": "tar",
          "title": "tar has Hardlink Path Traversal via Drive-Relative Linkpath",
          "url": "https://github.com/advisories/GHSA-qffp-2rhf-9h96",
          "severity": "high",
          "cwe": [
            "CWE-22",
            "CWE-59"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<=7.5.9"
        },
        {
          "source": 1114302,
          "name": "tar",
          "dependency": "tar",
          "title": "node-tar Symlink Path Traversal via Drive-Relative Linkpath",
          "url": "https://github.com/advisories/GHSA-9ppj-qmqm-q256",
          "severity": "high",
          "cwe": [
            "CWE-22"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<=7.5.10"
        },
        {
          "source": 1114680,
          "name": "tar",
          "dependency": "tar",
          "title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS",
          "url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w",
          "severity": "high",
          "cwe": [
            "CWE-176",
            "CWE-367"
          ],
          "cvss": {
            "score": 8.8,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"
          },
          "range": "<=7.5.3"
        }
      ],
      "effects": [
        "service-runner"
      ],
      "range": "<=7.5.10",
      "nodes": [
        "node_modules/tar"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "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/request/node_modules/tough-cookie"
      ],
      "fixAvailable": false
    },
    "undici": {
      "name": "undici",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1114591,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client",
          "url": "https://github.com/advisories/GHSA-f269-vfmq-vjvj",
          "severity": "high",
          "cwe": [
            "CWE-248",
            "CWE-1284"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114593,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has an HTTP Request/Response Smuggling issue",
          "url": "https://github.com/advisories/GHSA-2mjp-6q6p-2qxm",
          "severity": "moderate",
          "cwe": [
            "CWE-444"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114637,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression",
          "url": "https://github.com/advisories/GHSA-vrm6-8vpv-qv8q",
          "severity": "high",
          "cwe": [
            "CWE-409"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114639,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation",
          "url": "https://github.com/advisories/GHSA-v9p9-hfj2-hcw8",
          "severity": "high",
          "cwe": [
            "CWE-248"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114641,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has CRLF Injection in undici via `upgrade` option",
          "url": "https://github.com/advisories/GHSA-4992-7rv2-5pvq",
          "severity": "moderate",
          "cwe": [
            "CWE-93"
          ],
          "cvss": {
            "score": 4.6,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
          },
          "range": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114643,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS",
          "url": "https://github.com/advisories/GHSA-phc3-fgpg-7m6h",
          "severity": "moderate",
          "cwe": [
            "CWE-770"
          ],
          "cvss": {
            "score": 5.9,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "range": ">=7.17.0 <7.24.0"
        }
      ],
      "effects": [],
      "range": "7.0.0 - 7.23.0",
      "nodes": [
        "node_modules/undici"
      ],
      "fixAvailable": true
    },
    "wikimedia-kad-fork": {
      "name": "wikimedia-kad-fork",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        "ms"
      ],
      "effects": [
        "limitation"
      ],
      "range": "*",
      "nodes": [
        "node_modules/wikimedia-kad-fork"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 1,
      "moderate": 5,
      "high": 9,
      "critical": 2,
      "total": 17
    },
    "dependencies": {
      "prod": 274,
      "dev": 450,
      "optional": 15,
      "peer": 1,
      "peerOptional": 0,
      "total": 737
    }
  }
}

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "diff": {
      "name": "diff",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1112706,
          "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": ">=6.0.0 <8.0.3"
        }
      ],
      "effects": [
        "mocha"
      ],
      "range": "6.0.0 - 8.0.2",
      "nodes": [
        "node_modules/diff"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "11.3.0",
        "isSemVerMajor": true
      }
    },
    "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
    },
    "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": false
    },
    "ip": {
      "name": "ip",
      "severity": "high",
      "isDirect": true,
      "via": [
        {
          "source": 1101851,
          "name": "ip",
          "dependency": "ip",
          "title": "ip SSRF improper categorization in isPublic",
          "url": "https://github.com/advisories/GHSA-2p57-rm9w-gvfp",
          "severity": "high",
          "cwe": [
            "CWE-918"
          ],
          "cvss": {
            "score": 8.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "range": "<=2.0.1"
        }
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/ip"
      ],
      "fixAvailable": false
    },
    "limitation": {
      "name": "limitation",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        "wikimedia-kad-fork"
      ],
      "effects": [
        "service-runner"
      ],
      "range": ">=0.2.3",
      "nodes": [
        "node_modules/limitation"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    },
    "mocha": {
      "name": "mocha",
      "severity": "high",
      "isDirect": true,
      "via": [
        "diff",
        "serialize-javascript"
      ],
      "effects": [],
      "range": "8.0.0 - 12.0.0-beta-3",
      "nodes": [
        "node_modules/mocha"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "11.3.0",
        "isSemVerMajor": true
      }
    },
    "ms": {
      "name": "ms",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1109573,
          "name": "ms",
          "dependency": "ms",
          "title": "Vercel ms Inefficient Regular Expression Complexity vulnerability",
          "url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f",
          "severity": "moderate",
          "cwe": [
            "CWE-1333"
          ],
          "cvss": {
            "score": 5.3,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": "<2.0.0"
        }
      ],
      "effects": [
        "wikimedia-kad-fork"
      ],
      "range": "<2.0.0",
      "nodes": [
        "node_modules/wikimedia-kad-fork/node_modules/ms"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    },
    "preq": {
      "name": "preq",
      "severity": "high",
      "isDirect": true,
      "via": [
        "request",
        "requestretry"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/preq"
      ],
      "fixAvailable": false
    },
    "qs": {
      "name": "qs",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1113719,
          "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": "moderate",
          "cwe": [
            "CWE-20"
          ],
          "cvss": {
            "score": 3.7,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": "<6.14.1"
        }
      ],
      "effects": [
        "request"
      ],
      "range": "<6.14.1",
      "nodes": [
        "node_modules/request/node_modules/qs"
      ],
      "fixAvailable": false
    },
    "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": [
        "preq",
        "requestretry"
      ],
      "range": "*",
      "nodes": [
        "node_modules/request"
      ],
      "fixAvailable": false
    },
    "requestretry": {
      "name": "requestretry",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1090420,
          "name": "requestretry",
          "dependency": "requestretry",
          "title": "Cookie exposure in requestretry",
          "url": "https://github.com/advisories/GHSA-hjp8-2cm3-cc45",
          "severity": "high",
          "cwe": [
            "CWE-200"
          ],
          "cvss": {
            "score": 7.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
          },
          "range": "<7.0.0"
        },
        "request"
      ],
      "effects": [
        "preq"
      ],
      "range": "<=7.1.0",
      "nodes": [
        "node_modules/requestretry"
      ],
      "fixAvailable": false
    },
    "serialize-javascript": {
      "name": "serialize-javascript",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1113686,
          "name": "serialize-javascript",
          "dependency": "serialize-javascript",
          "title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()",
          "url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq",
          "severity": "high",
          "cwe": [
            "CWE-96"
          ],
          "cvss": {
            "score": 8.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
          },
          "range": "<=7.0.2"
        }
      ],
      "effects": [
        "mocha"
      ],
      "range": "<=7.0.2",
      "nodes": [
        "node_modules/serialize-javascript"
      ],
      "fixAvailable": {
        "name": "mocha",
        "version": "11.3.0",
        "isSemVerMajor": true
      }
    },
    "service-runner": {
      "name": "service-runner",
      "severity": "high",
      "isDirect": true,
      "via": [
        "limitation",
        "tar"
      ],
      "effects": [],
      "range": ">=3.0.0",
      "nodes": [
        "node_modules/service-runner"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    },
    "tar": {
      "name": "tar",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1112659,
          "name": "tar",
          "dependency": "tar",
          "title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal",
          "url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v",
          "severity": "high",
          "cwe": [
            "CWE-22",
            "CWE-59"
          ],
          "cvss": {
            "score": 8.2,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
          },
          "range": "<7.5.7"
        },
        {
          "source": 1113300,
          "name": "tar",
          "dependency": "tar",
          "title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization",
          "url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97",
          "severity": "high",
          "cwe": [
            "CWE-22"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<=7.5.2"
        },
        {
          "source": 1113375,
          "name": "tar",
          "dependency": "tar",
          "title": "Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction",
          "url": "https://github.com/advisories/GHSA-83g3-92jg-28cx",
          "severity": "high",
          "cwe": [
            "CWE-22"
          ],
          "cvss": {
            "score": 7.1,
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
          },
          "range": "<7.5.8"
        },
        {
          "source": 1114200,
          "name": "tar",
          "dependency": "tar",
          "title": "tar has Hardlink Path Traversal via Drive-Relative Linkpath",
          "url": "https://github.com/advisories/GHSA-qffp-2rhf-9h96",
          "severity": "high",
          "cwe": [
            "CWE-22",
            "CWE-59"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<=7.5.9"
        },
        {
          "source": 1114302,
          "name": "tar",
          "dependency": "tar",
          "title": "node-tar Symlink Path Traversal via Drive-Relative Linkpath",
          "url": "https://github.com/advisories/GHSA-9ppj-qmqm-q256",
          "severity": "high",
          "cwe": [
            "CWE-22"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<=7.5.10"
        },
        {
          "source": 1114680,
          "name": "tar",
          "dependency": "tar",
          "title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS",
          "url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w",
          "severity": "high",
          "cwe": [
            "CWE-176",
            "CWE-367"
          ],
          "cvss": {
            "score": 8.8,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"
          },
          "range": "<=7.5.3"
        }
      ],
      "effects": [
        "service-runner"
      ],
      "range": "<=7.5.10",
      "nodes": [
        "node_modules/tar"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "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/request/node_modules/tough-cookie"
      ],
      "fixAvailable": false
    },
    "undici": {
      "name": "undici",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1114591,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client",
          "url": "https://github.com/advisories/GHSA-f269-vfmq-vjvj",
          "severity": "high",
          "cwe": [
            "CWE-248",
            "CWE-1284"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114593,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has an HTTP Request/Response Smuggling issue",
          "url": "https://github.com/advisories/GHSA-2mjp-6q6p-2qxm",
          "severity": "moderate",
          "cwe": [
            "CWE-444"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114637,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression",
          "url": "https://github.com/advisories/GHSA-vrm6-8vpv-qv8q",
          "severity": "high",
          "cwe": [
            "CWE-409"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114639,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation",
          "url": "https://github.com/advisories/GHSA-v9p9-hfj2-hcw8",
          "severity": "high",
          "cwe": [
            "CWE-248"
          ],
          "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": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114641,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has CRLF Injection in undici via `upgrade` option",
          "url": "https://github.com/advisories/GHSA-4992-7rv2-5pvq",
          "severity": "moderate",
          "cwe": [
            "CWE-93"
          ],
          "cvss": {
            "score": 4.6,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
          },
          "range": ">=7.0.0 <7.24.0"
        },
        {
          "source": 1114643,
          "name": "undici",
          "dependency": "undici",
          "title": "Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS",
          "url": "https://github.com/advisories/GHSA-phc3-fgpg-7m6h",
          "severity": "moderate",
          "cwe": [
            "CWE-770"
          ],
          "cvss": {
            "score": 5.9,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "range": ">=7.17.0 <7.24.0"
        }
      ],
      "effects": [],
      "range": "7.0.0 - 7.23.0",
      "nodes": [
        "node_modules/undici"
      ],
      "fixAvailable": true
    },
    "wikimedia-kad-fork": {
      "name": "wikimedia-kad-fork",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        "ms"
      ],
      "effects": [
        "limitation"
      ],
      "range": "*",
      "nodes": [
        "node_modules/wikimedia-kad-fork"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "2.9.0",
        "isSemVerMajor": true
      }
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 1,
      "moderate": 5,
      "high": 9,
      "critical": 2,
      "total": 17
    },
    "dependencies": {
      "prod": 274,
      "dev": 450,
      "optional": 15,
      "peer": 1,
      "peerOptional": 0,
      "total": 737
    }
  }
}

--- 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": 737,
  "removed": 0,
  "changed": 0,
  "audited": 738,
  "funding": 148,
  "audit": {
    "auditReportVersion": 2,
    "vulnerabilities": {
      "diff": {
        "name": "diff",
        "severity": "low",
        "isDirect": false,
        "via": [
          {
            "source": 1112706,
            "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": ">=6.0.0 <8.0.3"
          }
        ],
        "effects": [
          "mocha"
        ],
        "range": "6.0.0 - 8.0.2",
        "nodes": [
          "node_modules/diff"
        ],
        "fixAvailable": {
          "name": "mocha",
          "version": "11.3.0",
          "isSemVerMajor": true
        }
      },
      "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
      },
      "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": false
      },
      "ip": {
        "name": "ip",
        "severity": "high",
        "isDirect": true,
        "via": [
          {
            "source": 1101851,
            "name": "ip",
            "dependency": "ip",
            "title": "ip SSRF improper categorization in isPublic",
            "url": "https://github.com/advisories/GHSA-2p57-rm9w-gvfp",
            "severity": "high",
            "cwe": [
              "CWE-918"
            ],
            "cvss": {
              "score": 8.1,
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
            },
            "range": "<=2.0.1"
          }
        ],
        "effects": [],
        "range": "*",
        "nodes": [
          "node_modules/ip"
        ],
        "fixAvailable": false
      },
      "limitation": {
        "name": "limitation",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          "wikimedia-kad-fork"
        ],
        "effects": [
          "service-runner"
        ],
        "range": ">=0.2.3",
        "nodes": [
          "node_modules/limitation"
        ],
        "fixAvailable": {
          "name": "service-runner",
          "version": "2.9.0",
          "isSemVerMajor": true
        }
      },
      "mocha": {
        "name": "mocha",
        "severity": "high",
        "isDirect": true,
        "via": [
          "diff",
          "serialize-javascript"
        ],
        "effects": [],
        "range": "8.0.0 - 12.0.0-beta-3",
        "nodes": [
          "node_modules/mocha"
        ],
        "fixAvailable": {
          "name": "mocha",
          "version": "11.3.0",
          "isSemVerMajor": true
        }
      },
      "ms": {
        "name": "ms",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          {
            "source": 1109573,
            "name": "ms",
            "dependency": "ms",
            "title": "Vercel ms Inefficient Regular Expression Complexity vulnerability",
            "url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f",
            "severity": "moderate",
            "cwe": [
              "CWE-1333"
            ],
            "cvss": {
              "score": 5.3,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
            },
            "range": "<2.0.0"
          }
        ],
        "effects": [
          "wikimedia-kad-fork"
        ],
        "range": "<2.0.0",
        "nodes": [
          "node_modules/wikimedia-kad-fork/node_modules/ms"
        ],
        "fixAvailable": {
          "name": "service-runner",
          "version": "2.9.0",
          "isSemVerMajor": true
        }
      },
      "preq": {
        "name": "preq",
        "severity": "high",
        "isDirect": true,
        "via": [
          "request",
          "requestretry"
        ],
        "effects": [],
        "range": "*",
        "nodes": [
          "node_modules/preq"
        ],
        "fixAvailable": false
      },
      "qs": {
        "name": "qs",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          {
            "source": 1113719,
            "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": "moderate",
            "cwe": [
              "CWE-20"
            ],
            "cvss": {
              "score": 3.7,
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
            },
            "range": "<6.14.1"
          }
        ],
        "effects": [
          "request"
        ],
        "range": "<6.14.1",
        "nodes": [
          "node_modules/request/node_modules/qs"
        ],
        "fixAvailable": false
      },
      "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": [
          "preq",
          "requestretry"
        ],
        "range": "*",
        "nodes": [
          "node_modules/request"
        ],
        "fixAvailable": false
      },
      "requestretry": {
        "name": "requestretry",
        "severity": "high",
        "isDirect": false,
        "via": [
          {
            "source": 1090420,
            "name": "requestretry",
            "dependency": "requestretry",
            "title": "Cookie exposure in requestretry",
            "url": "https://github.com/advisories/GHSA-hjp8-2cm3-cc45",
            "severity": "high",
            "cwe": [
              "CWE-200"
            ],
            "cvss": {
              "score": 7.5,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
            },
            "range": "<7.0.0"
          },
          "request"
        ],
        "effects": [
          "preq"
        ],
        "range": "<=7.1.0",
        "nodes": [
          "node_modules/requestretry"
        ],
        "fixAvailable": false
      },
      "serialize-javascript": {
        "name": "serialize-javascript",
        "severity": "high",
        "isDirect": false,
        "via": [
          {
            "source": 1113686,
            "name": "serialize-javascript",
            "dependency": "serialize-javascript",
            "title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()",
            "url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq",
            "severity": "high",
            "cwe": [
              "CWE-96"
            ],
            "cvss": {
              "score": 8.1,
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
            },
            "range": "<=7.0.2"
          }
        ],
        "effects": [
          "mocha"
        ],
        "range": "<=7.0.2",
        "nodes": [
          "node_modules/serialize-javascript"
        ],
        "fixAvailable": {
          "name": "mocha",
          "version": "11.3.0",
          "isSemVerMajor": true
        }
      },
      "service-runner": {
        "name": "service-runner",
        "severity": "high",
        "isDirect": true,
        "via": [
          "limitation",
          "tar"
        ],
        "effects": [],
        "range": ">=3.0.0",
        "nodes": [
          "node_modules/service-runner"
        ],
        "fixAvailable": {
          "name": "service-runner",
          "version": "2.9.0",
          "isSemVerMajor": true
        }
      },
      "tar": {
        "name": "tar",
        "severity": "high",
        "isDirect": false,
        "via": [
          {
            "source": 1112659,
            "name": "tar",
            "dependency": "tar",
            "title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal",
            "url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v",
            "severity": "high",
            "cwe": [
              "CWE-22",
              "CWE-59"
            ],
            "cvss": {
              "score": 8.2,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
            },
            "range": "<7.5.7"
          },
          {
            "source": 1113300,
            "name": "tar",
            "dependency": "tar",
            "title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization",
            "url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97",
            "severity": "high",
            "cwe": [
              "CWE-22"
            ],
            "cvss": {
              "score": 0,
              "vectorString": null
            },
            "range": "<=7.5.2"
          },
          {
            "source": 1113375,
            "name": "tar",
            "dependency": "tar",
            "title": "Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction",
            "url": "https://github.com/advisories/GHSA-83g3-92jg-28cx",
            "severity": "high",
            "cwe": [
              "CWE-22"
            ],
            "cvss": {
              "score": 7.1,
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"
            },
            "range": "<7.5.8"
          },
          {
            "source": 1114200,
            "name": "tar",
            "dependency": "tar",
            "title": "tar has Hardlink Path Traversal via Drive-Relative Linkpath",
            "url": "https://github.com/advisories/GHSA-qffp-2rhf-9h96",
            "severity": "high",
            "cwe": [
              "CWE-22",
              "CWE-59"
            ],
            "cvss": {
              "score": 0,
              "vectorString": null
            },
            "range": "<=7.5.9"
          },
          {
            "source": 1114302,
            "name": "tar",
            "dependency": "tar",
            "title": "node-tar Symlink Path Traversal via Drive-Relative Linkpath",
            "url": "https://github.com/advisories/GHSA-9ppj-qmqm-q256",
            "severity": "high",
            "cwe": [
              "CWE-22"
            ],
            "cvss": {
              "score": 0,
              "vectorString": null
            },
            "range": "<=7.5.10"
          },
          {
            "source": 1114680,
            "name": "tar",
            "dependency": "tar",
            "title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS",
            "url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w",
            "severity": "high",
            "cwe": [
              "CWE-176",
              "CWE-367"
            ],
            "cvss": {
              "score": 8.8,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"
            },
            "range": "<=7.5.3"
          }
        ],
        "effects": [
          "service-runner"
        ],
        "range": "<=7.5.10",
        "nodes": [
          "node_modules/tar"
        ],
        "fixAvailable": {
          "name": "service-runner",
          "version": "2.9.0",
          "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/request/node_modules/tough-cookie"
        ],
        "fixAvailable": false
      },
      "undici": {
        "name": "undici",
        "severity": "high",
        "isDirect": false,
        "via": [
          {
            "source": 1114591,
            "name": "undici",
            "dependency": "undici",
            "title": "Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client",
            "url": "https://github.com/advisories/GHSA-f269-vfmq-vjvj",
            "severity": "high",
            "cwe": [
              "CWE-248",
              "CWE-1284"
            ],
            "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": ">=7.0.0 <7.24.0"
          },
          {
            "source": 1114593,
            "name": "undici",
            "dependency": "undici",
            "title": "Undici has an HTTP Request/Response Smuggling issue",
            "url": "https://github.com/advisories/GHSA-2mjp-6q6p-2qxm",
            "severity": "moderate",
            "cwe": [
              "CWE-444"
            ],
            "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": ">=7.0.0 <7.24.0"
          },
          {
            "source": 1114637,
            "name": "undici",
            "dependency": "undici",
            "title": "Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression",
            "url": "https://github.com/advisories/GHSA-vrm6-8vpv-qv8q",
            "severity": "high",
            "cwe": [
              "CWE-409"
            ],
            "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": ">=7.0.0 <7.24.0"
          },
          {
            "source": 1114639,
            "name": "undici",
            "dependency": "undici",
            "title": "Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation",
            "url": "https://github.com/advisories/GHSA-v9p9-hfj2-hcw8",
            "severity": "high",
            "cwe": [
              "CWE-248"
            ],
            "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": ">=7.0.0 <7.24.0"
          },
          {
            "source": 1114641,
            "name": "undici",
            "dependency": "undici",
            "title": "Undici has CRLF Injection in undici via `upgrade` option",
            "url": "https://github.com/advisories/GHSA-4992-7rv2-5pvq",
            "severity": "moderate",
            "cwe": [
              "CWE-93"
            ],
            "cvss": {
              "score": 4.6,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
            },
            "range": ">=7.0.0 <7.24.0"
          },
          {
            "source": 1114643,
            "name": "undici",
            "dependency": "undici",
            "title": "Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS",
            "url": "https://github.com/advisories/GHSA-phc3-fgpg-7m6h",
            "severity": "moderate",
            "cwe": [
              "CWE-770"
            ],
            "cvss": {
              "score": 5.9,
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
            },
            "range": ">=7.17.0 <7.24.0"
          }
        ],
        "effects": [],
        "range": "7.0.0 - 7.23.0",
        "nodes": [
          ""
        ],
        "fixAvailable": true
      },
      "wikimedia-kad-fork": {
        "name": "wikimedia-kad-fork",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          "ms"
        ],
        "effects": [
          "limitation"
        ],
        "range": "*",
        "nodes": [
          "node_modules/wikimedia-kad-fork"
        ],
        "fixAvailable": {
          "name": "service-runner",
          "version": "2.9.0",
          "isSemVerMajor": true
        }
      }
    },
    "metadata": {
      "vulnerabilities": {
        "info": 0,
        "low": 1,
        "moderate": 5,
        "high": 9,
        "critical": 2,
        "total": 17
      },
      "dependencies": {
        "prod": 274,
        "dev": 450,
        "optional": 15,
        "peer": 1,
        "peerOptional": 0,
        "total": 737
      }
    }
  }
}

--- end ---
{"added": 737, "removed": 0, "changed": 0, "audited": 738, "funding": 148, "audit": {"auditReportVersion": 2, "vulnerabilities": {"diff": {"name": "diff", "severity": "low", "isDirect": false, "via": [{"source": 1112706, "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": ">=6.0.0 <8.0.3"}], "effects": ["mocha"], "range": "6.0.0 - 8.0.2", "nodes": ["node_modules/diff"], "fixAvailable": {"name": "mocha", "version": "11.3.0", "isSemVerMajor": true}}, "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}, "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": false}, "ip": {"name": "ip", "severity": "high", "isDirect": true, "via": [{"source": 1101851, "name": "ip", "dependency": "ip", "title": "ip SSRF improper categorization in isPublic", "url": "https://github.com/advisories/GHSA-2p57-rm9w-gvfp", "severity": "high", "cwe": ["CWE-918"], "cvss": {"score": 8.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<=2.0.1"}], "effects": [], "range": "*", "nodes": ["node_modules/ip"], "fixAvailable": false}, "limitation": {"name": "limitation", "severity": "moderate", "isDirect": false, "via": ["wikimedia-kad-fork"], "effects": ["service-runner"], "range": ">=0.2.3", "nodes": ["node_modules/limitation"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}, "mocha": {"name": "mocha", "severity": "high", "isDirect": true, "via": ["diff", "serialize-javascript"], "effects": [], "range": "8.0.0 - 12.0.0-beta-3", "nodes": ["node_modules/mocha"], "fixAvailable": {"name": "mocha", "version": "11.3.0", "isSemVerMajor": true}}, "ms": {"name": "ms", "severity": "moderate", "isDirect": false, "via": [{"source": 1109573, "name": "ms", "dependency": "ms", "title": "Vercel ms Inefficient Regular Expression Complexity vulnerability", "url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": "<2.0.0"}], "effects": ["wikimedia-kad-fork"], "range": "<2.0.0", "nodes": ["node_modules/wikimedia-kad-fork/node_modules/ms"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}, "preq": {"name": "preq", "severity": "high", "isDirect": true, "via": ["request", "requestretry"], "effects": [], "range": "*", "nodes": ["node_modules/preq"], "fixAvailable": false}, "qs": {"name": "qs", "severity": "moderate", "isDirect": false, "via": [{"source": 1113719, "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": "moderate", "cwe": ["CWE-20"], "cvss": {"score": 3.7, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": "<6.14.1"}], "effects": ["request"], "range": "<6.14.1", "nodes": ["node_modules/request/node_modules/qs"], "fixAvailable": false}, "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": ["preq", "requestretry"], "range": "*", "nodes": ["node_modules/request"], "fixAvailable": false}, "requestretry": {"name": "requestretry", "severity": "high", "isDirect": false, "via": [{"source": 1090420, "name": "requestretry", "dependency": "requestretry", "title": "Cookie exposure in requestretry", "url": "https://github.com/advisories/GHSA-hjp8-2cm3-cc45", "severity": "high", "cwe": ["CWE-200"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}, "range": "<7.0.0"}, "request"], "effects": ["preq"], "range": "<=7.1.0", "nodes": ["node_modules/requestretry"], "fixAvailable": false}, "serialize-javascript": {"name": "serialize-javascript", "severity": "high", "isDirect": false, "via": [{"source": 1113686, "name": "serialize-javascript", "dependency": "serialize-javascript", "title": "Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString()", "url": "https://github.com/advisories/GHSA-5c6j-r48x-rmvq", "severity": "high", "cwe": ["CWE-96"], "cvss": {"score": 8.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "range": "<=7.0.2"}], "effects": ["mocha"], "range": "<=7.0.2", "nodes": ["node_modules/serialize-javascript"], "fixAvailable": {"name": "mocha", "version": "11.3.0", "isSemVerMajor": true}}, "service-runner": {"name": "service-runner", "severity": "high", "isDirect": true, "via": ["limitation", "tar"], "effects": [], "range": ">=3.0.0", "nodes": ["node_modules/service-runner"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}, "tar": {"name": "tar", "severity": "high", "isDirect": false, "via": [{"source": 1112659, "name": "tar", "dependency": "tar", "title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal", "url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v", "severity": "high", "cwe": ["CWE-22", "CWE-59"], "cvss": {"score": 8.2, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}, "range": "<7.5.7"}, {"source": 1113300, "name": "tar", "dependency": "tar", "title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization", "url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97", "severity": "high", "cwe": ["CWE-22"], "cvss": {"score": 0, "vectorString": null}, "range": "<=7.5.2"}, {"source": 1113375, "name": "tar", "dependency": "tar", "title": "Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction", "url": "https://github.com/advisories/GHSA-83g3-92jg-28cx", "severity": "high", "cwe": ["CWE-22"], "cvss": {"score": 7.1, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N"}, "range": "<7.5.8"}, {"source": 1114200, "name": "tar", "dependency": "tar", "title": "tar has Hardlink Path Traversal via Drive-Relative Linkpath", "url": "https://github.com/advisories/GHSA-qffp-2rhf-9h96", "severity": "high", "cwe": ["CWE-22", "CWE-59"], "cvss": {"score": 0, "vectorString": null}, "range": "<=7.5.9"}, {"source": 1114302, "name": "tar", "dependency": "tar", "title": "node-tar Symlink Path Traversal via Drive-Relative Linkpath", "url": "https://github.com/advisories/GHSA-9ppj-qmqm-q256", "severity": "high", "cwe": ["CWE-22"], "cvss": {"score": 0, "vectorString": null}, "range": "<=7.5.10"}, {"source": 1114680, "name": "tar", "dependency": "tar", "title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS", "url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w", "severity": "high", "cwe": ["CWE-176", "CWE-367"], "cvss": {"score": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"}, "range": "<=7.5.3"}], "effects": ["service-runner"], "range": "<=7.5.10", "nodes": ["node_modules/tar"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "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/request/node_modules/tough-cookie"], "fixAvailable": false}, "undici": {"name": "undici", "severity": "high", "isDirect": false, "via": [{"source": 1114591, "name": "undici", "dependency": "undici", "title": "Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client", "url": "https://github.com/advisories/GHSA-f269-vfmq-vjvj", "severity": "high", "cwe": ["CWE-248", "CWE-1284"], "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": ">=7.0.0 <7.24.0"}, {"source": 1114593, "name": "undici", "dependency": "undici", "title": "Undici has an HTTP Request/Response Smuggling issue", "url": "https://github.com/advisories/GHSA-2mjp-6q6p-2qxm", "severity": "moderate", "cwe": ["CWE-444"], "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": ">=7.0.0 <7.24.0"}, {"source": 1114637, "name": "undici", "dependency": "undici", "title": "Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression", "url": "https://github.com/advisories/GHSA-vrm6-8vpv-qv8q", "severity": "high", "cwe": ["CWE-409"], "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": ">=7.0.0 <7.24.0"}, {"source": 1114639, "name": "undici", "dependency": "undici", "title": "Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation", "url": "https://github.com/advisories/GHSA-v9p9-hfj2-hcw8", "severity": "high", "cwe": ["CWE-248"], "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": ">=7.0.0 <7.24.0"}, {"source": 1114641, "name": "undici", "dependency": "undici", "title": "Undici has CRLF Injection in undici via `upgrade` option", "url": "https://github.com/advisories/GHSA-4992-7rv2-5pvq", "severity": "moderate", "cwe": ["CWE-93"], "cvss": {"score": 4.6, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}, "range": ">=7.0.0 <7.24.0"}, {"source": 1114643, "name": "undici", "dependency": "undici", "title": "Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS", "url": "https://github.com/advisories/GHSA-phc3-fgpg-7m6h", "severity": "moderate", "cwe": ["CWE-770"], "cvss": {"score": 5.9, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=7.17.0 <7.24.0"}], "effects": [], "range": "7.0.0 - 7.23.0", "nodes": [""], "fixAvailable": true}, "wikimedia-kad-fork": {"name": "wikimedia-kad-fork", "severity": "moderate", "isDirect": false, "via": ["ms"], "effects": ["limitation"], "range": "*", "nodes": ["node_modules/wikimedia-kad-fork"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 1, "moderate": 5, "high": 9, "critical": 2, "total": 17}, "dependencies": {"prod": 274, "dev": 450, "optional": 15, "peer": 1, "peerOptional": 0, "total": 737}}}}
$ /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 kad-fs@0.0.4: This package is no longer maintained.
npm WARN deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated kad-memstore@0.0.1: This package is no longer maintained.
npm WARN deprecated preq@0.5.14: Deprecated as this is a wrapper around the deprecated request library. Preq can be replaced with fetch, which is available from Node 18 as an experimental feature.
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 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 733 packages, and audited 734 packages in 11s

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

# npm audit report

diff  6.0.0 - 8.0.2
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 mocha@11.3.0, which is a breaking change
node_modules/diff
  mocha  8.0.0 - 12.0.0-beta-3
  Depends on vulnerable versions of diff
  Depends on vulnerable versions of serialize-javascript
  node_modules/mocha

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
No fix available
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
    preq  *
    Depends on vulnerable versions of request
    Depends on vulnerable versions of requestretry
    node_modules/preq
    requestretry  <=7.1.0
    Depends on vulnerable versions of request
    node_modules/requestretry

ip  *
Severity: high
ip SSRF improper categorization in isPublic - https://github.com/advisories/GHSA-2p57-rm9w-gvfp
No fix available
node_modules/ip

ms  <2.0.0
Severity: moderate
Vercel ms Inefficient Regular Expression Complexity vulnerability - https://github.com/advisories/GHSA-w9mr-4mfr-499f
fix available via `npm audit fix --force`
Will install service-runner@2.9.0, which is a breaking change
node_modules/wikimedia-kad-fork/node_modules/ms
  wikimedia-kad-fork  *
  Depends on vulnerable versions of ms
  node_modules/wikimedia-kad-fork
    limitation  >=0.2.3
    Depends on vulnerable versions of wikimedia-kad-fork
    node_modules/limitation
      service-runner  >=3.0.0
      Depends on vulnerable versions of limitation
      Depends on vulnerable versions of tar
      node_modules/service-runner

qs  <6.14.1
Severity: moderate
qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion - https://github.com/advisories/GHSA-6rw7-vpxm-498p
No fix available
node_modules/request/node_modules/qs



serialize-javascript  <=7.0.2
Severity: high
Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString() - https://github.com/advisories/GHSA-5c6j-r48x-rmvq
fix available via `npm audit fix --force`
Will install mocha@11.3.0, which is a breaking change
node_modules/serialize-javascript

tar  <=7.5.10
Severity: high
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal - https://github.com/advisories/GHSA-34x7-hfp2-rc4v
node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization - https://github.com/advisories/GHSA-8qq5-rm4j-mr97
Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction - https://github.com/advisories/GHSA-83g3-92jg-28cx
tar has Hardlink Path Traversal via Drive-Relative Linkpath - https://github.com/advisories/GHSA-qffp-2rhf-9h96
node-tar Symlink Path Traversal via Drive-Relative Linkpath - https://github.com/advisories/GHSA-9ppj-qmqm-q256
Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS - https://github.com/advisories/GHSA-r6q2-hw4h-h46w
fix available via `npm audit fix --force`
Will install service-runner@2.9.0, which is a breaking change
node_modules/tar

tough-cookie  <4.1.3
Severity: moderate
tough-cookie Prototype Pollution vulnerability - https://github.com/advisories/GHSA-72xf-g2v4-qvf3
No fix available
node_modules/request/node_modules/tough-cookie

15 vulnerabilities (1 low, 5 moderate, 7 high, 2 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

--- end ---
Verifying that tests still pass
$ /usr/bin/npm ci
--- stderr ---
npm WARN deprecated kad-fs@0.0.4: This package is no longer maintained.
npm WARN deprecated whatwg-encoding@3.1.1: Use @exodus/bytes instead for a more spec-conformant and faster implementation
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated kad-memstore@0.0.1: This package is no longer maintained.
npm WARN deprecated preq@0.5.14: Deprecated as this is a wrapper around the deprecated request library. Preq can be replaced with fetch, which is available from Node 18 as an experimental feature.
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 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 733 packages, and audited 734 packages in 15s

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

15 vulnerabilities (1 low, 5 moderate, 7 high, 2 critical)

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

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`
--- stdout ---

> citoid@2.0.0 test
> npm run lint && mocha ./test/features/unit/* && mocha ./test/features/errors/* && mocha ./test/features/app/* && mocha --exit ./test/features/scraping/*


> citoid@2.0.0 lint
> eslint --max-warnings 0 --cache .



  cachedTypes
    zotero methods
      ✔ returns false if no base types exist
      ✔ gets base types - no creators
      ✔ gets base types - with creators
    creator types methods
      ✔ gets creator type ids
      ✔ returns empty list if no create type ids exist
      ✔ gets primary creator id from type
      ✔ gets creator name from id
      ✔ gets primary creator id from name
      ✔ determines if creatorType valid for type- true
      ✔ determines if creatorType valid for type- false
    item fields methods
      ✔ determines if id is valid for type- false
      ✔ determines if id is valid for type- true
      ✔ determines if creator field is valid for type- true
      ✔ determines if creator field is valid for type- false
      ✔ get field id from type and base
      ✔ get base id from type and field
      ✔ get item type fields
      ✔ gets field name from id
      ✔ gets id from field name

  lib/Citation.js
    Constructor: 
      ✔ creates citation with initial ID
      ✔ creates citation with numeric id
      ✔ throws error for non-string idType
      ✔ throws error for invalid idType
      ✔ ignores idValue and creates empty citation when idType is null
    Setters: 
      ✔ converts number to string
      ✔ keeps string values as strings
      ✔ handles empty string
      Special values
        ✔ keeps null as null
        ✔ changes undefined to null
        ✔ converts true to empty string
        ✔ converts false to null

  lib/Exporter.js functions: 
    validation functions: 
      fixURL: 
        ✔ discards url with no host
        ✔ adds protocol to url when missing
      fixWebsiteTitle: 
        ✔ Adds missing website title
        ✔ Does not add missing website title if itemType is missing
        ✔ Does not add missing website title if url is relative
      addIDSToCitation: 
        ✔ cleans script and html out of title
      stripCitation:
        ✔ cleans script and html out of title
        ✔ does not clean doi
      fixDate: 
        ✔ Contains copyright symbol
        ✔ Is in brackets for some unfathomable reason
        ✔ Contains copyright symbol & whitespace
        ✔ Contains c symbol
        ✔ sets year only date to year only date
        ✔ converts American style date to ISO
        ✔ Unable to parse so leaves as written; season (264ms)
        ✔ Chooses worldcat publication year
        ✔ Multilingual date - Spanish - leaves as written
        ✔ Multilingual date - Russian - leaves as written (40ms)
        ✔ Normal date
        ✔ Normal date with ordinal indicator
        ✔ Correctly sets normal date with ordinal number
        ✔ Date on the fence: ISO with - notation
        ✔ Date on the fence; ISO with + notation
        ✔ Date on the fence; toString output
        ✔ Date on the fence; ISO with Z notation
        ✔ Year first date
        ✔ Partial ISO date no preceeding 0
        ✔ Full ISO date no preceeding 0
        ✔ Full ISO date no preceeding 0 month or day
        ✔ Slashes full date
        ✔ Slashes partial date
        ✔ Slashes partial date with 0 month
        - Slashes partial date with 00s
        ✔ Slashes partial year with 00s
        ✔ XX partial date
        ✔ XX partial year
        ✔ unix timestamp
        ✔ unix timestamp with space
      fixDOI: 
        ✔ Correctly gets DOI from full citation
        ✔ Correctly removes DOI that is not a DOI
        ✔ Correctly gets DOI when only DOI is present
      fixISBN: 
        ✔ Correctly hyphenates single ISBN-10
        ✔ Correctly handles ISBN-13s that have spaces in them
        ✔ Correctly extracts two ISBN-10s
        ✔ Correctly extracts ISBN-13
        ✔ Correctly extracts ISBN-10 and ISBN-13
        ✔ Correctly handles and normalizes hyphenated ISBN
        ✔ Correctly handles ISBNs with and without hyphens
        ✔ Correctly handles multiple ISBN-13s that have spaces in them
        ✔ Correctly handles out comma separated ISBNs
      fixISSN: 
        ✔ Correctly ignores None ISSN
        ✔ Correctly adds valid ISSN
        ✔ Correctly adds valid ISSN with spaces
        ✔ Correctly adds valid ISSN with X
        ✔ Correctly adds valid ISSN with x
        ✔ Correctly ignores invalid ISSN without hyphen
        ✔ Correctly ignores invalid ISSN
      validateISSN: 
        ✔ Correctly ignores None ISSN
        ✔ Correctly adds valid ISSN
        ✔ Correctly adds valid ISSN with spaces
        ✔ Correctly adds valid ISSN with X
        ✔ Correctly adds valid ISSN with x
        ✔ Correctly ignores invalid ISSN without hyphen
        ✔ Correctly ignores invalid ISSN
      fixPages: 
        ✔ converts hyphen minus to en dash
      replaceCreators:
        ✔ Correctly adds name with firstName and lastName present
        ✔ Correctly adds names with only lastName or firstName present
        ✔ Adds names with name field
        ✔ Doesn't add names with incorrect field name
    export formats: 
      wikibase: 
        different search term types 
          ✔ url from search, doi from result
          ✔ doi from search, no url
          ✔ qid, no url
          ✔ pmid, no url
          ✔ pmcid, no url
        different item types
          ✔ itemType webpage
          ✔ itemType book
          ✔ itemType journalArticle

  lib/Scraper.js functions: 
    matchIDs function: 
      ✔ gets doi from bePress string
      ✔ gets doi from bePress Array
      ✔ gets doi from highwirePress string
      ✔ gets doi from highwirePress Array
      ✔ gets doi from dublinCore string
      ✔ gets doi from dublinCore Array
      ✔ Returns empty metadata from empty object
      ✔ Multiple metadata types
    parsing
      ✔ should scrape meta tag charset content

  Tests for Translator.js : 
    translate function on html: 
      ✔ translates bePress metadata from movie file
      ✔ translates bePress metadata from article file
      ✔ translates bePress metadata from song file
      ✔ translates highwirePress metadata from movie file
      ✔ translates highwirePress metadata from article file
      ✔ translates highwirePress metadata from song file
      ✔ translates coins metadata from movie file
      ✔ translates coins metadata from article file
      ✔ translates coins metadata from song file
      ✔ translates dublinCore metadata from movie file
      ✔ translates dublinCore metadata from article file
      ✔ translates dublinCore metadata from song file
      ✔ translates general metadata from movie file
      ✔ translates general metadata from article file
      ✔ translates general metadata from song file
      ✔ translates openGraph metadata from movie file
      ✔ translates openGraph metadata from article file
      ✔ translates openGraph metadata from song file
    translate function on json: 
      ✔ sets right info from journal-article crossRef metadata
      ✔ sets right info from book-section crossRef metadata
      ✔ tests every itemType for crossRef translator on every sample crossRef file
    addItemType function: 
      ✔ sets videoRecording itemType
      ✔ sets article itemType
      ✔ sets audioRecording itemType from openGraph
      ✔ sets itemType webpage if no relevant metadata available
    check specific results: 
      ✔ sets right info from webpage for general metadata
      ✔ sets right info from webpage for bepress metadata

  coins metadata
    ✔ Correctly adds pages from spage and epage
    ✔ Correctly fixes en dash in pages fields
    ✔ Correctly adds date
    exports.other.addCreators function
      ✔ Doesn't add empty creators field
      ✔ Doesn't add creators field if missing itemType
      - Doesn't add duplicate author names
      - Doesn't add duplicate author names with nbsp present
      ✔ Correctly adds name with missing firstname
      ✔ Correctly adds name with missing lastname
      ✔ Correctly uses aulast, auinit1 and auinitm
      ✔ Correctly uses auinit1 and auinitm
      ✔ Correctly adds corporation names
      ✔ Does split names in au field

  crossRef translator unit
    ✔ Creator translate function adds lists of strings
    dateParts function
      ✔ Translates full date
      ✔ Translates year and day
      ✔ Translates year only
      ✔ Fails with object
      ✔ Fails with list not nested
      ✔ Works with strings date
      - Does not work with unexpected input

  dublinCore translator unit
    ✔ Creator translate function adds lists of strings
    ✔ Correctly adds an author string with one word
    ✔ Correctly adds an author string with two words
    ✔ Correctly adds an author string with three words

  general translator unit
    ✔ Author function adds lists of strings
    ✔ Correctly adds an author string with one word
    ✔ Correctly adds an author string with two words
    ✔ Correctly adds an author string with three words
    ✔ Does not try to split Harry Potter author field from worldcat

  translator utilities: 
    makeTranslator function: 
      ✔ strips leading and trailing whitespace
      ✔ replaces nonbreaking space characters with spaces
      ✔ correctly adds date with fixDate validate function
      ✔ correctly uses fixLang validate function
      ✔ removes line feed characters from title field
      ✔ preserves line feed characters in abstractNote field
      ✔ removes line feed characters from other fields
    makePagesTranslator function: 
      ✔ Uses spage and epage
      ✔ Uses optional pages arg and converts - to en dash
    makeListTranslator function: 
      ✔ Correctly adds one isbn
      ✔ Correctly uses isbn validate function
      ✔ Correctly uses issn validate function
      ✔ Correctly adds two issn and one eissn
      ✔ Correctly adds two isbn
    makeCreatorsTranslator function: 
      ✔ Name as written
      ✔ Has multiple authors in the field
      ✔ Format Last name, first name
      ✔ Adds two different contributor types

  lib/unshorten.js
debug/unshorten Unshortening: http://www.example.com
debug/unshorten Already unshortened to: http://www.example.com
    ✔ Returns successful Promise if already unshortened


  189 passing (644ms)
  4 pending



  address restrictions
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:08:55.742Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"4f64f8f0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"node","x-request-id":"4f64f8f0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50444},"msg":"http://localhost:1970 is not public, and is disallowed","time":"2026-03-17T10:08:56.834Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://localhost:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"4f64f8f0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"node","x-request-id":"4f64f8f0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50444},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:56.837Z","v":0}
    ✔ http://localhost:1970 (64ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"4f6965c0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"node","x-request-id":"4f6965c0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"msg":"http://127.0.0.1:1970 is not public, and is disallowed","time":"2026-03-17T10:08:56.861Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://127.0.0.1:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"4f6965c0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"node","x-request-id":"4f6965c0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:56.862Z","v":0}
    ✔ http://127.0.0.1:1970
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://foobarbaz.example.com/","outgoingReqResult":{"error":"AddressError"},"request_id":"4f6a5020-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2Ffoobarbaz.example.com%2F","headers":{"user-agent":"node","x-request-id":"4f6a5020-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:56.989Z","v":0}
    ✔ non-existing (133ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"4f7f37b0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"node","x-request-id":"4f7f37b0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"msg":"http://10.0.0.5/ is not public, and is disallowed","time":"2026-03-17T10:08:57.005Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://10.0.0.5/","outgoingReqResult":{"error":"AddressError"},"request_id":"4f7f37b0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"node","x-request-id":"4f7f37b0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:57.007Z","v":0}
    ✔ 10.0.0.5
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"4f80e560-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"4f80e560-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-03-17T10:08:57.015Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"4f80e560-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"4f80e560-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:57.017Z","v":0}
    ✔ private ip
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/zotero","request_id":"4f821de0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"user-agent":"node","x-request-id":"4f821de0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2026-03-17T10:08:57.159Z","v":0}
    ✔ acceptable domain, with scheme (452ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/zotero","request_id":"4fc71620-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/en.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"user-agent":"node","x-request-id":"4fc71620-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50440},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2026-03-17T10:08:57.487Z","v":0}
    ✔ acceptable domain, without scheme (135ms)

  encoding
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:08:57.614Z","v":0}
    ✔ javascript in format
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/pubmed","request_id":"4fdfce40-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/10.1000%2Ff%3Cscript%3Ealert(1)%3B%3C%2Fscript%3E","headers":{"user-agent":"node","x-request-id":"4fdfce40-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50448},"msg":"Unknown pubmed error","time":"2026-03-17T10:08:57.675Z","v":0}
    ✔ javascript in doi (70ms)
    ✔ json in format
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://www.example.com/spaces%20in%20url","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"www.example.com","uri":"http://www.example.com/spaces%20in%20url"},"request_id":"4feb3ff0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com%2Fspaces%20in%20url","headers":{"user-agent":"node","x-request-id":"4feb3ff0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50446},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:57.733Z","v":0}
    ✔ spaces in fully qualified url
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://www.example.com/spaces%20in%20url","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"www.example.com","uri":"http://www.example.com/spaces%20in%20url"},"request_id":"4fef5ea0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/www.example.com%2Fspaces%20in%20url","headers":{"user-agent":"node","x-request-id":"4fef5ea0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50446},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:57.772Z","v":0}
    ✔ spaces in url missing http:// (42ms)
    ✔ Handles weird encoding

  errors
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:08:57.789Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for https://example./com","outgoingReqResult":{"error":"AddressError"},"request_id":"4ff8fb90-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/example.%2Fcom","headers":{"user-agent":"node","x-request-id":"4ff8fb90-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50468},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:57.805Z","v":0}
    ✔ bad domain
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for https://en.wikipedia.org/404","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"en.wikipedia.org","uri":"https://en.wikipedia.org/404"},"request_id":"4ffa0d00-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fen.wikipedia.org%2F404","headers":{"user-agent":"node","x-request-id":"4ffa0d00-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50462},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:57.820Z","v":0}
    ✔ resource has http errors
    ✔ unknown doi (63ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://DOI.org/10.1007/11926078_68'","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"doi.org","uri":"https://doi.org/10.1007/11926078_68%27"},"request_id":"50061af0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68'","headers":{"user-agent":"node","x-request-id":"50061af0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50462},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:57.926Z","v":0}
    ✔ doi url with single quote (95ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for http://DOI.org/10.1007/11926078_68%22","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"doi.org","uri":"https://doi.org/10.1007/11926078_68%22"},"request_id":"5014c0f0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%22","headers":{"user-agent":"node","x-request-id":"5014c0f0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50462},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:58.034Z","v":0}
    ✔ doi url with double quote (134ms)
    ✔ doi with single quote (77ms)
    ✔ PDF contentType unsupported
    - bad pmid
    - bad pmcid
    deprecated api: 
      ✔ format only
      ✔ search only
      ✔ valid search and format

  redirects
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:08:58.239Z","v":0}
    redirect chains
      ✔ redirect supported (120ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"504fa710-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"504fa710-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50470},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-03-17T10:08:58.379Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"504fa710-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"504fa710-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50470},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:58.380Z","v":0}
      ✔ redir-to-private
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"5051c9f0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"5051c9f0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50470},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-03-17T10:08:58.396Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"5051c9f0-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"5051c9f0-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50470},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:58.396Z","v":0}
      ✔ redir-to-redir-private
      ✔ follows relative redirects (66ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"505e7420-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"505e7420-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50470},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-03-17T10:08:58.490Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"505e7420-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"505e7420-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50470},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:58.491Z","v":0}
      ✔ redir-to-redir-to-redir-to-private
      ✔ five-redirect-max-by-default-under (444ms)
      ✔ five-redirect-max-by-default-equal (133ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":358,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://en.wikipedia.org/wiki/Zotero","outgoingReqResult":{"error":"AddressError"},"request_id":"50baec00-21e9-11f1-9b8b-a7dff9cb3a67","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fen.wikipedia.org%2Fwiki%2FZotero","headers":{"user-agent":"node","x-request-id":"50baec00-21e9-11f1-9b8b-a7dff9cb3a67"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50470},"levelPath":"warn/CitoidService","time":"2026-03-17T10:08:59.102Z","v":0}
      ✔ five-redirect-max-by-default-over
    relative redirects
      ✔ Handles relative filename redirects correctly
      ✔ Handles ./ relative redirects correctly
      ✔ Handles ../ parent directory redirects correctly
      ✔ Handles capital letters in protocol
      ✔ Handles subdirectory relative redirects correctly
      ✔ Handles absolute path redirects correctly
      ✔ Handles protocol-relative redirects correctly


  38 passing (4s)
  2 pending



  citoid routing
{"name":"citoid","hostname":"6db09ebc2b30","pid":369,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:08:59.868Z","v":0}
    ✔ should not get deprecated query style request for uri (72ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":369,"level":40,"levelPath":"warn/zotero","request_id":"51da65c0-21e9-11f1-86bb-f32f5be0e87c","request":{"url":"/mediawiki/http%3A%2F%2Fexample.com","headers":{"user-agent":"node","x-request-id":"51da65c0-21e9-11f1-86bb-f32f5be0e87c"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":50488},"msg":"No Zot response available for http://example.com","time":"2026-03-17T10:09:01.042Z","v":0}
    ✔ should get restbase style request for uri (169ms)

  express app
{"name":"citoid","hostname":"6db09ebc2b30","pid":369,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:01.126Z","v":0}
    ✔ should get robots.txt
    ✔ get landing page
    ✔ should set CORS headers
    ✔ should set CSP headers

  service information
{"name":"citoid","hostname":"6db09ebc2b30","pid":369,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:01.162Z","v":0}
    ✔ should get the service name
    ✔ should get the service version
    ✔ should redirect to the service home page
    ✔ should get the service info
    ✔ should fail to get the service info for invalid endpoint


  11 passing (1s)



  correctly gets base fields instead of more specific fields (no zotero)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:06.846Z","v":0}
    ✔ webpage (205ms)

  Native scraper:
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:07.912Z","v":0}
    - doi in url with query parameters
    ✔ Adds extra parameters for archive.org (1888ms)
    ✔ missing protocol (74ms)
    ✔ case sensitive url (118ms)
    ✔ case sensitive url missing protocol (103ms)

  Languages (no zotero):
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:10.108Z","v":0}
    ✔ open graph locale converted to language code (1896ms)
    ✔ non-native to node encoding in response (1542ms)
    - content-type header present in body but not in response headers
    - Language present in html tag

  mock Zotero service that cannot export
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:13.556Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"595f4b30-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"595f4b30-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"bibtex"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38364},"msg":"No Zot response available for http://www.example.com","time":"2026-03-17T10:09:13.609Z","v":0}
    ✔ Get error for bibtex export (85ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"596b5920-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"596b5920-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38358},"msg":"No Zot response available for http://www.example.com","time":"2026-03-17T10:09:13.679Z","v":0}
    ✔ Success with mediawiki export (51ms)

  Mock crossref and doi.org failures
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:13.703Z","v":0}
    ✔ Falls back on doi.org resolver when api is not available (299ms)
    ✔ falls back to CrossRef when DOI.org resolver is unavailable

  Zotero service down or disabled:
    unreachable
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:14.034Z","v":0}
      ✔ PMID not in doi id converter api (53ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf","outgoingReqResult":{"status":404,"hostname":"www.myfoodresearch.com","uri":"https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf"},"request_id":"59af3ff0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"node","x-request-id":"59af3ff0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:14.280Z","v":0}
      ✔ doi that points to pdf (233ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"59d31ba0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/PMC3605911","headers":{"user-agent":"node","x-request-id":"59d31ba0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002947","time":"2026-03-17T10:09:15.500Z","v":0}
      ✔ PMCID present in doi id converter api (1600ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"5ac73fa0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"5ac73fa0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:15.991Z","v":0}
      ✔ JSTOR page (189ms)
      - requires JS to be enabled
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"5ae48ba0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fdoi.org%2F10.1002%2Fjlac.18571010113","headers":{"user-agent":"node","x-request-id":"5ae48ba0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://chemistry-europe.onlinelibrary.wiley.com/doi/10.1002/jlac.18571010113","time":"2026-03-17T10:09:16.536Z","v":0}
      ✔ doi spage and epage fields in crossRef coins data (1094ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"5b8ba110-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fmic.microbiologyresearch.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.082289-0","headers":{"user-agent":"node","x-request-id":"5b8ba110-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0","time":"2026-03-17T10:09:18.225Z","v":0}
      ✔ successfully uses highwire press metadata (2249ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"5ce2a590-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fuknowledge.uky.edu%2Fupk_african_history%2F1%2F","headers":{"user-agent":"node","x-request-id":"5ce2a590-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://uknowledge.uky.edu/upk_african_history/1/","time":"2026-03-17T10:09:19.956Z","v":0}
      ✔ successfully uses bepress press metadata alone (869ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"5d673ee0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"node","x-request-id":"5d673ee0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:21.344Z","v":0}
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"5d673ee0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"node","x-request-id":"5d673ee0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.26954-0","time":"2026-03-17T10:09:21.579Z","v":0}
      ✔ Dead url with correct doi (2133ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"5eae16c0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"5eae16c0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"bibtex"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for http://www.example.com","time":"2026-03-17T10:09:22.509Z","v":0}
      ✔ Get error for bibtex export (72ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"5eb7dac0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"5eb7dac0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:22.585Z","v":0}
      ✔ requires cookie handling (160ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"5ed0b9f0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.1038%2Fscientificamerican0200-90","headers":{"user-agent":"node","x-request-id":"5ed0b9f0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://www.scientificamerican.com/article/uprooting-the-tree-of-life/","time":"2026-03-17T10:09:23.275Z","v":0}
      ✔ DOI pointing to resource that can't be scraped - uses crossRef (681ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://dx.DOI.org/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"https://www.jstor.org/stable/3677029?origin=crossref"},"request_id":"5f387c70-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"5f387c70-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:23.468Z","v":0}
      ✔ dx.DOI link - uses crossRef (216ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"5f599900-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.14344%2FIOC.ML.4.4","headers":{"user-agent":"node","x-request-id":"5f599900-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://www.worldbirdnames.org/ioc-lists/crossref/","time":"2026-03-17T10:09:29.676Z","v":0}
      ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (6655ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"63513900-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.1016%2FS0305-0491(98)00022-4","headers":{"user-agent":"node","x-request-id":"63513900-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://linkinghub.elsevier.com/retrieve/pii/S0305049198000224","time":"2026-03-17T10:09:30.574Z","v":0}
      ✔ gets date from crossRef REST API (428ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"6392aed0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.1017%2Fisbn-9780511132971.eh1-7","headers":{"user-agent":"node","x-request-id":"6392aed0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for http://hsus.cambridge.org/HSUSWeb/toc/tableToc.do?id=Eh1-7","time":"2026-03-17T10:09:31.145Z","v":0}
      ✔ gets editors from crossRef REST API for book-tract type (1058ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"64344600-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.4271%2F2015-01-0821","headers":{"user-agent":"node","x-request-id":"64344600-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://saemobilus.sae.org/papers/simulating-a-complete-performance-map-ethanol-fueled-boosted-hcci-engine-2015-01-0821","time":"2026-03-17T10:09:34.971Z","v":0}
      ✔ gets proceedings from crossRef REST API (5107ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"673f8a30-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fwww.google.com","headers":{"user-agent":"node","x-request-id":"673f8a30-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for http://www.google.com","time":"2026-03-17T10:09:36.875Z","v":0}
      ✔ uses original url (85ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"674ca990-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fblog.woorank.com%2F2013%2F04%2Fdublin-core-metadata-for-seo-and-usability%2F","headers":{"user-agent":"node","x-request-id":"674ca990-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://www.woorank.com/en/blog/dublin-core-metadata-for-seo-and-usability","time":"2026-03-17T10:09:37.257Z","v":0}
      ✔ websiteTitle but no publicationTitle (388ms)
      - dublinCore data with multiple identifiers in array
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"levelPath":"warn/zotero","request_id":"6787b6c0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.1017%2Fs0305004100013554","headers":{"user-agent":"node","x-request-id":"6787b6c0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38402},"msg":"No Zot response available for https://www.cambridge.org/core/journals/mathematical-proceedings-of-the-cambridge-philosophical-society/article/abs/discussion-of-probability-relations-between-separated-systems/C1C71E1AA5BA56EBE6588AAACB9A222D","time":"2026-03-17T10:09:38.195Z","v":0}
      ✔ has page range in direct scrape (1422ms)
      ✔ Only PMCID but no PMID or DOI; does not scrape
      ✔ DOI with redirect - Wiley (379ms)
    disabled in conf
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:39.162Z","v":0}
      ✔ PMID not in doi id converter api (45ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf","outgoingReqResult":{"status":404,"hostname":"www.myfoodresearch.com","uri":"https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf"},"request_id":"68a86900-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"node","x-request-id":"68a86900-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37616},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:39.389Z","v":0}
      ✔ doi that points to pdf (208ms)
      ✔ PMCID present in doi id converter api (639ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"692a1c20-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"692a1c20-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37616},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:40.112Z","v":0}
      ✔ JSTOR page with tabs in natively scraped title (146ms)
      - requires JS to be enabled
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://dx.doi.org/10.1002/jlac.18571010113","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"chemistry-europe.onlinelibrary.wiley.com","uri":"https://chemistry-europe.onlinelibrary.wiley.com/action/cookieAbsent"},"request_id":"6940b160-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fdx.doi.org%2F10.1002%2Fjlac.18571010113","headers":{"user-agent":"node","x-request-id":"6940b160-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37616},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:41.558Z","v":0}
      ✔ doi spage and epage fields in crossRef coins data (1728ms)
      ✔ successfully uses highwire press metadata (1945ms)
      ✔ successfully uses bepress press metadata alone (795ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"6bea74a0-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"node","x-request-id":"6bea74a0-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37616},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:44.686Z","v":0}
      ✔ Dead url with doi (990ms)
      ✔ Get error for bibtex export (73ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"6c8cf630-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"6c8cf630-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37616},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:45.799Z","v":0}
      ✔ requires cookie handling (154ms)
      ✔ DOI pointing to resource that can't be scraped - uses crossRef (242ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://dx.DOI.org/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"https://www.jstor.org/stable/3677029?origin=crossref"},"request_id":"6cc9b110-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"6cc9b110-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37616},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:46.224Z","v":0}
      ✔ dx.DOI link - uses crossRef (196ms)
      ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (5477ms)
      ✔ gets date from crossRef REST API (192ms)
      ✔ gets editors from crossRef REST API for book-tract type (580ms)
      ✔ gets proceedings from crossRef REST API (137ms)
      ✔ No PMID or DOI; does not scrape (38ms)
      ✔ DOI with redirect - Wiley (405ms)

  Freetext or ambiguous search, classified as "any" input type, i.e. title or citation
    Default config
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:09:53.181Z","v":0}
      ✔ spaces in url missing http:// and www (1731ms)
      ✔ json in search (671ms)
      ✔ javascript in search (869ms)
      ✔ localhost:1970 (367ms)
      ✔ Open search for Schrodinger (559ms)
      ✔ Open search containing <> works; but gets wrong results from crossRef (813ms)
      ✔ Open search with www but no protocol (851ms)
      - Open search with doi
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://hdl.handle.net/1902.1/UOVMCPSWOL","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"dataverse.harvard.edu","uri":"https://dataverse.harvard.edu/citation?persistentId=hdl:1902.1/UOVMCPSWOL"},"request_id":"747c3630-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/Frederico%20Girosi%3B%20Gary%20King%2C%202006%2C%20%E2%80%98Cause%20of%20Death%20Data%E2%80%99%2C%20http%3A%2F%2Fhdl.handle.net%2F1902.1%2FUOVMCPSWOL%20UNF%3A3%3A9JU%2BSmVyHgwRhAKclQ85Cg%3D%3D%20IQSS%20Dataverse%20Network%20%5BDistributor%5D%20V3%20%5BVersion%5D.","headers":{"user-agent":"node","x-request-id":"747c3630-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":46564},"levelPath":"warn/CitoidService","time":"2026-03-17T10:09:59.392Z","v":0}
      ✔ Open search with url (684ms)
      ✔ Open search with single term (237ms)
      ✔ Harry Potter (403ms)
      ✔ No results returns 404 (109ms)
      ✔ should fail for whitespace-only query
      ✔ should extract URL from citation template with pipes (1121ms)
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":40,"msg":"requestFromURL failed for http://www.example.com+/","outgoingReqResult":{"error":"AddressError"},"request_id":"76039980-21e9-11f1-bb70-f7c9406abfa7","request":{"url":"/mediawiki/%3Cref%3E%7B%7Bcite%2Bweb%2B%7Curl%3Dhttp%3A%2F%2Fwww.example.com%2B%7Caccess-date%3DJanuary%2B22%2C%2B2022%7D%7D%3C%2Fref%3E","headers":{"user-agent":"node","x-request-id":"76039980-21e9-11f1-bb70-f7c9406abfa7"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":46564},"levelPath":"warn/CitoidService","time":"2026-03-17T10:10:01.630Z","v":0}
      ✔ should only get open search results as url cannot be extracted (2560ms)

  Tests using a very short timeout - all use crossRef - zotero disabled
{"name":"citoid","hostname":"6db09ebc2b30","pid":380,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-03-17T10:10:04.186Z","v":0}
    DOI  
      ✔ DOI- missing PMCID (68ms)
      ✔ direct DOI (55ms)
      ✔ DOI with redirect (39ms)
      - non-dx.DOI link with DOI pointing to resource in zotero with no DOI
      ✔ DOI pointing to resource in zotero with no DOI
      - DOI.org link pointing to resource in zotero with no DOI
      ✔ DOI which requires cookie to properly follow redirect to Zotero (83ms)
      ✔ doi pointing to conferencePaper
      - doi in url with query parameters
      ✔ doi with US style date (52ms)


  71 passing (58s)
  10 pending


--- 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.1 -> 3.4.1
{"1114591": {"source": 1114591, "name": "undici", "dependency": "undici", "title": "Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client", "url": "https://github.com/advisories/GHSA-f269-vfmq-vjvj", "severity": "high", "cwe": ["CWE-248", "CWE-1284"], "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": ">=7.0.0 <7.24.0"}, "1114593": {"source": 1114593, "name": "undici", "dependency": "undici", "title": "Undici has an HTTP Request/Response Smuggling issue", "url": "https://github.com/advisories/GHSA-2mjp-6q6p-2qxm", "severity": "moderate", "cwe": ["CWE-444"], "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": ">=7.0.0 <7.24.0"}, "1114637": {"source": 1114637, "name": "undici", "dependency": "undici", "title": "Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression", "url": "https://github.com/advisories/GHSA-vrm6-8vpv-qv8q", "severity": "high", "cwe": ["CWE-409"], "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": ">=7.0.0 <7.24.0"}, "1114639": {"source": 1114639, "name": "undici", "dependency": "undici", "title": "Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation", "url": "https://github.com/advisories/GHSA-v9p9-hfj2-hcw8", "severity": "high", "cwe": ["CWE-248"], "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": ">=7.0.0 <7.24.0"}, "1114641": {"source": 1114641, "name": "undici", "dependency": "undici", "title": "Undici has CRLF Injection in undici via `upgrade` option", "url": "https://github.com/advisories/GHSA-4992-7rv2-5pvq", "severity": "moderate", "cwe": ["CWE-93"], "cvss": {"score": 4.6, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"}, "range": ">=7.0.0 <7.24.0"}, "1114643": {"source": 1114643, "name": "undici", "dependency": "undici", "title": "Undici has Unbounded Memory Consumption in its DeduplicationHandler via Response Buffering that leads to DoS", "url": "https://github.com/advisories/GHSA-phc3-fgpg-7m6h", "severity": "moderate", "cwe": ["CWE-770"], "cvss": {"score": 5.9, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": ">=7.17.0 <7.24.0"}}
Upgrading n:undici from 7.22.0 -> 7.24.4
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json

--- end ---
build: Updating npm dependencies

* flatted: 3.3.1 → 3.4.1
  * https://github.com/advisories/GHSA-25h7-pfq9-p65f
* undici: 7.22.0 → 7.24.4
  * https://github.com/advisories/GHSA-2mjp-6q6p-2qxm
  * https://github.com/advisories/GHSA-4992-7rv2-5pvq
  * https://github.com/advisories/GHSA-f269-vfmq-vjvj
  * https://github.com/advisories/GHSA-phc3-fgpg-7m6h
  * https://github.com/advisories/GHSA-v9p9-hfj2-hcw8
  * https://github.com/advisories/GHSA-vrm6-8vpv-qv8q

$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpfxeyokcf
--- stdout ---
[master 71b73c4] build: Updating npm dependencies
 1 file changed, 6 insertions(+), 7 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 71b73c4d2a701f1ee9985d73b5765c847ef7e8e9 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Tue, 17 Mar 2026 10:10:04 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* flatted: 3.3.1 → 3.4.1
  * https://github.com/advisories/GHSA-25h7-pfq9-p65f
* undici: 7.22.0 → 7.24.4
  * https://github.com/advisories/GHSA-2mjp-6q6p-2qxm
  * https://github.com/advisories/GHSA-4992-7rv2-5pvq
  * https://github.com/advisories/GHSA-f269-vfmq-vjvj
  * https://github.com/advisories/GHSA-phc3-fgpg-7m6h
  * https://github.com/advisories/GHSA-v9p9-hfj2-hcw8
  * https://github.com/advisories/GHSA-vrm6-8vpv-qv8q

Change-Id: Id25d9dd8fe98366ae82b1d5a9cbf8e8e2811684e
---
 package-lock.json | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index e0473d3..5d492c6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -3857,9 +3857,9 @@
 			}
 		},
 		"node_modules/flatted": {
-			"version": "3.3.1",
-			"resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz",
-			"integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==",
+			"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": {
@@ -8412,10 +8412,9 @@
 			}
 		},
 		"node_modules/undici": {
-			"version": "7.22.0",
-			"resolved": "https://registry.npmjs.org/undici/-/undici-7.22.0.tgz",
-			"integrity": "sha512-RqslV2Us5BrllB+JeiZnK4peryVTndy9Dnqq62S3yYRRTj0tFQCwEniUy2167skdGOy3vqRzEvl1Dm4sV2ReDg==",
-			"license": "MIT",
+			"version": "7.24.4",
+			"resolved": "https://registry.npmjs.org/undici/-/undici-7.24.4.tgz",
+			"integrity": "sha512-BM/JzwwaRXxrLdElV2Uo6cTLEjhSb3WXboncJamZ15NgUURmvlXvxa6xkwIOILIjPNo9i8ku136ZvWV0Uly8+w==",
 			"engines": {
 				"node": ">=20.18.1"
 			}
-- 
2.47.3


--- end ---

npm dependencies

Dependencies
Development dependencies

Logs

Source code is licensed under the AGPL.