mediawiki/services/citoid: main (log #2338076)

sourcepatches

This run took 103 seconds.

From 50c28003b99d63df3d3db124779f029110b17da5 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 21 Jan 2026 05:04:13 +0000
Subject: [PATCH] build: Updating diff to 5.2.2

* https://github.com/advisories/GHSA-73rr-hh4g-fpgx

Change-Id: I9aa90c459949ac6646ca2764bf892caac27ec0f4
---
 package-lock.json | 120 ++++++++++++++++------------------------------
 1 file changed, 40 insertions(+), 80 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 3379698..09ad3ca 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1562,23 +1562,22 @@
 			"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
 		},
 		"node_modules/body-parser": {
-			"version": "1.20.3",
-			"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
-			"integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
-			"license": "MIT",
+			"version": "1.20.4",
+			"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz",
+			"integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==",
 			"dependencies": {
-				"bytes": "3.1.2",
+				"bytes": "~3.1.2",
 				"content-type": "~1.0.5",
 				"debug": "2.6.9",
 				"depd": "2.0.0",
-				"destroy": "1.2.0",
-				"http-errors": "2.0.0",
-				"iconv-lite": "0.4.24",
-				"on-finished": "2.4.1",
-				"qs": "6.13.0",
-				"raw-body": "2.5.2",
+				"destroy": "~1.2.0",
+				"http-errors": "~2.0.1",
+				"iconv-lite": "~0.4.24",
+				"on-finished": "~2.4.1",
+				"qs": "~6.14.0",
+				"raw-body": "~2.5.3",
 				"type-is": "~1.6.18",
-				"unpipe": "1.0.0"
+				"unpipe": "~1.0.0"
 			},
 			"engines": {
 				"node": ">= 0.8",
@@ -2512,9 +2511,9 @@
 			}
 		},
 		"node_modules/diff": {
-			"version": "5.2.0",
-			"resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",
-			"integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==",
+			"version": "5.2.2",
+			"resolved": "https://registry.npmjs.org/diff/-/diff-5.2.2.tgz",
+			"integrity": "sha512-vtcDfH3TOjP8UekytvnHH1o1P4FcUdt4eQ1Y+Abap1tk/OB2MWQvcwS2ClCd1zuIhc3JKOx6p3kod8Vfys3E+A==",
 			"dev": true,
 			"engines": {
 				"node": ">=0.3.1"
@@ -3592,25 +3591,6 @@
 				}
 			}
 		},
-		"node_modules/express/node_modules/http-errors": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
-			"integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
-			"dependencies": {
-				"depd": "~2.0.0",
-				"inherits": "~2.0.4",
-				"setprototypeof": "~1.2.0",
-				"statuses": "~2.0.2",
-				"toidentifier": "~1.0.1"
-			},
-			"engines": {
-				"node": ">= 0.8"
-			},
-			"funding": {
-				"type": "opencollective",
-				"url": "https://opencollective.com/express"
-			}
-		},
 		"node_modules/express/node_modules/iconv-lite": {
 			"version": "0.7.0",
 			"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",
@@ -3671,21 +3651,6 @@
 				"node": ">= 0.6"
 			}
 		},
-		"node_modules/express/node_modules/qs": {
-			"version": "6.14.0",
-			"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
-			"integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
-			"license": "BSD-3-Clause",
-			"dependencies": {
-				"side-channel": "^1.1.0"
-			},
-			"engines": {
-				"node": ">=0.6"
-			},
-			"funding": {
-				"url": "https://github.com/sponsors/ljharb"
-			}
-		},
 		"node_modules/express/node_modules/raw-body": {
 			"version": "3.0.2",
 			"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz",
@@ -3700,14 +3665,6 @@
 				"node": ">= 0.10"
 			}
 		},
-		"node_modules/express/node_modules/statuses": {
-			"version": "2.0.2",
-			"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
-			"integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
-			"engines": {
-				"node": ">= 0.8"
-			}
-		},
 		"node_modules/express/node_modules/type-is": {
 			"version": "2.0.1",
 			"resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
@@ -4443,18 +4400,22 @@
 			}
 		},
 		"node_modules/http-errors": {
-			"version": "2.0.0",
-			"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
-			"integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
+			"version": "2.0.1",
+			"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
+			"integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
 			"dependencies": {
-				"depd": "2.0.0",
-				"inherits": "2.0.4",
-				"setprototypeof": "1.2.0",
-				"statuses": "2.0.1",
-				"toidentifier": "1.0.1"
+				"depd": "~2.0.0",
+				"inherits": "~2.0.4",
+				"setprototypeof": "~1.2.0",
+				"statuses": "~2.0.2",
+				"toidentifier": "~1.0.1"
 			},
 			"engines": {
 				"node": ">= 0.8"
+			},
+			"funding": {
+				"type": "opencollective",
+				"url": "https://opencollective.com/express"
 			}
 		},
 		"node_modules/http-shutdown": {
@@ -6529,12 +6490,11 @@
 			}
 		},
 		"node_modules/qs": {
-			"version": "6.13.0",
-			"resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
-			"integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
-			"license": "BSD-3-Clause",
+			"version": "6.14.1",
+			"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
+			"integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
 			"dependencies": {
-				"side-channel": "^1.0.6"
+				"side-channel": "^1.1.0"
 			},
 			"engines": {
 				"node": ">=0.6"
@@ -6589,14 +6549,14 @@
 			}
 		},
 		"node_modules/raw-body": {
-			"version": "2.5.2",
-			"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
-			"integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
+			"version": "2.5.3",
+			"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz",
+			"integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
 			"dependencies": {
-				"bytes": "3.1.2",
-				"http-errors": "2.0.0",
-				"iconv-lite": "0.4.24",
-				"unpipe": "1.0.0"
+				"bytes": "~3.1.2",
+				"http-errors": "~2.0.1",
+				"iconv-lite": "~0.4.24",
+				"unpipe": "~1.0.0"
 			},
 			"engines": {
 				"node": ">= 0.8"
@@ -7415,9 +7375,9 @@
 			}
 		},
 		"node_modules/statuses": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
-			"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+			"integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
 			"engines": {
 				"node": ">= 0.8"
 			}
-- 
2.47.3

$ date
--- stdout ---
Wed Jan 21 05:02:34 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 ---
a1c4d4be52f71444ca0cd42c22a5b1abcf24464d refs/heads/master

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "body-parser": {
      "name": "body-parser",
      "severity": "high",
      "isDirect": true,
      "via": [
        "qs"
      ],
      "effects": [],
      "range": "<=1.20.3 || 2.0.0-beta.1 - 2.0.2",
      "nodes": [
        "node_modules/body-parser"
      ],
      "fixAvailable": true
    },
    "diff": {
      "name": "diff",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1112327,
          "name": "diff",
          "dependency": "diff",
          "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
          "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
          "severity": "low",
          "cwe": [
            "CWE-400",
            "CWE-1333"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": ">=5.0.0 <5.2.2"
        }
      ],
      "effects": [],
      "range": "5.0.0 - 5.2.1",
      "nodes": [
        "node_modules/diff"
      ],
      "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
      }
    },
    "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": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1111755,
          "name": "qs",
          "dependency": "qs",
          "title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion",
          "url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p",
          "severity": "high",
          "cwe": [
            "CWE-20"
          ],
          "cvss": {
            "score": 7.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "range": "<6.14.1"
        }
      ],
      "effects": [
        "body-parser",
        "request"
      ],
      "range": "<6.14.1",
      "nodes": [
        "node_modules/express/node_modules/qs",
        "node_modules/qs",
        "node_modules/request/node_modules/qs"
      ],
      "fixAvailable": false
    },
    "request": {
      "name": "request",
      "severity": "critical",
      "isDirect": true,
      "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
    },
    "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
      }
    },
    "swagger-ui-dist": {
      "name": "swagger-ui-dist",
      "severity": "moderate",
      "isDirect": true,
      "via": [
        {
          "source": 1088759,
          "name": "swagger-ui-dist",
          "dependency": "swagger-ui-dist",
          "title": "Spoofing attack in swagger-ui-dist",
          "url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x",
          "severity": "moderate",
          "cwe": [
            "CWE-1021"
          ],
          "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": "<4.1.3"
        },
        {
          "source": 1092160,
          "name": "swagger-ui-dist",
          "dependency": "swagger-ui-dist",
          "title": "Server side request forgery in SwaggerUI",
          "url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx",
          "severity": "moderate",
          "cwe": [
            "CWE-918"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<4.1.3"
        }
      ],
      "effects": [],
      "range": "<=4.1.2",
      "nodes": [
        "node_modules/swagger-ui-dist"
      ],
      "fixAvailable": {
        "name": "swagger-ui-dist",
        "version": "5.31.0",
        "isSemVerMajor": true
      }
    },
    "tar": {
      "name": "tar",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1112255,
          "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": 1112329,
          "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"
          ],
          "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.3",
      "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/tough-cookie"
      ],
      "fixAvailable": false
    },
    "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": 7,
      "critical": 2,
      "total": 15
    },
    "dependencies": {
      "prod": 267,
      "dev": 420,
      "optional": 15,
      "peer": 1,
      "peerOptional": 0,
      "total": 700
    }
  }
}

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "body-parser": {
      "name": "body-parser",
      "severity": "high",
      "isDirect": true,
      "via": [
        "qs"
      ],
      "effects": [],
      "range": "<=1.20.3 || 2.0.0-beta.1 - 2.0.2",
      "nodes": [
        "node_modules/body-parser"
      ],
      "fixAvailable": true
    },
    "diff": {
      "name": "diff",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1112327,
          "name": "diff",
          "dependency": "diff",
          "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
          "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
          "severity": "low",
          "cwe": [
            "CWE-400",
            "CWE-1333"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": ">=5.0.0 <5.2.2"
        }
      ],
      "effects": [],
      "range": "5.0.0 - 5.2.1",
      "nodes": [
        "node_modules/diff"
      ],
      "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
      }
    },
    "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": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1111755,
          "name": "qs",
          "dependency": "qs",
          "title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion",
          "url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p",
          "severity": "high",
          "cwe": [
            "CWE-20"
          ],
          "cvss": {
            "score": 7.5,
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
          },
          "range": "<6.14.1"
        }
      ],
      "effects": [
        "body-parser",
        "request"
      ],
      "range": "<6.14.1",
      "nodes": [
        "node_modules/express/node_modules/qs",
        "node_modules/qs",
        "node_modules/request/node_modules/qs"
      ],
      "fixAvailable": false
    },
    "request": {
      "name": "request",
      "severity": "critical",
      "isDirect": true,
      "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
    },
    "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
      }
    },
    "swagger-ui-dist": {
      "name": "swagger-ui-dist",
      "severity": "moderate",
      "isDirect": true,
      "via": [
        {
          "source": 1088759,
          "name": "swagger-ui-dist",
          "dependency": "swagger-ui-dist",
          "title": "Spoofing attack in swagger-ui-dist",
          "url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x",
          "severity": "moderate",
          "cwe": [
            "CWE-1021"
          ],
          "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": "<4.1.3"
        },
        {
          "source": 1092160,
          "name": "swagger-ui-dist",
          "dependency": "swagger-ui-dist",
          "title": "Server side request forgery in SwaggerUI",
          "url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx",
          "severity": "moderate",
          "cwe": [
            "CWE-918"
          ],
          "cvss": {
            "score": 0,
            "vectorString": null
          },
          "range": "<4.1.3"
        }
      ],
      "effects": [],
      "range": "<=4.1.2",
      "nodes": [
        "node_modules/swagger-ui-dist"
      ],
      "fixAvailable": {
        "name": "swagger-ui-dist",
        "version": "5.31.0",
        "isSemVerMajor": true
      }
    },
    "tar": {
      "name": "tar",
      "severity": "high",
      "isDirect": false,
      "via": [
        {
          "source": 1112255,
          "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": 1112329,
          "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"
          ],
          "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.3",
      "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/tough-cookie"
      ],
      "fixAvailable": false
    },
    "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": 7,
      "critical": 2,
      "total": 15
    },
    "dependencies": {
      "prod": 267,
      "dev": 420,
      "optional": 15,
      "peer": 1,
      "peerOptional": 0,
      "total": 700
    }
  }
}

--- 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": 697,
  "removed": 0,
  "changed": 0,
  "audited": 698,
  "funding": 131,
  "audit": {
    "auditReportVersion": 2,
    "vulnerabilities": {
      "body-parser": {
        "name": "body-parser",
        "severity": "high",
        "isDirect": false,
        "via": [
          "qs"
        ],
        "effects": [],
        "range": "<=1.20.3 || 2.0.0-beta.1 - 2.0.2",
        "nodes": [
          ""
        ],
        "fixAvailable": true
      },
      "diff": {
        "name": "diff",
        "severity": "low",
        "isDirect": false,
        "via": [
          {
            "source": 1112327,
            "name": "diff",
            "dependency": "diff",
            "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch",
            "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx",
            "severity": "low",
            "cwe": [
              "CWE-400",
              "CWE-1333"
            ],
            "cvss": {
              "score": 0,
              "vectorString": null
            },
            "range": ">=5.0.0 <5.2.2"
          }
        ],
        "effects": [],
        "range": "5.0.0 - 5.2.1",
        "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
        }
      },
      "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": "high",
        "isDirect": false,
        "via": [
          {
            "source": 1111755,
            "name": "qs",
            "dependency": "qs",
            "title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion",
            "url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p",
            "severity": "high",
            "cwe": [
              "CWE-20"
            ],
            "cvss": {
              "score": 7.5,
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
            },
            "range": "<6.14.1"
          }
        ],
        "effects": [
          "body-parser",
          "request"
        ],
        "range": "<6.14.1",
        "nodes": [
          "",
          "",
          "node_modules/request/node_modules/qs"
        ],
        "fixAvailable": false
      },
      "request": {
        "name": "request",
        "severity": "critical",
        "isDirect": true,
        "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
      },
      "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
        }
      },
      "swagger-ui-dist": {
        "name": "swagger-ui-dist",
        "severity": "moderate",
        "isDirect": true,
        "via": [
          {
            "source": 1088759,
            "name": "swagger-ui-dist",
            "dependency": "swagger-ui-dist",
            "title": "Spoofing attack in swagger-ui-dist",
            "url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x",
            "severity": "moderate",
            "cwe": [
              "CWE-1021"
            ],
            "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": "<4.1.3"
          },
          {
            "source": 1092160,
            "name": "swagger-ui-dist",
            "dependency": "swagger-ui-dist",
            "title": "Server side request forgery in SwaggerUI",
            "url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx",
            "severity": "moderate",
            "cwe": [
              "CWE-918"
            ],
            "cvss": {
              "score": 0,
              "vectorString": null
            },
            "range": "<4.1.3"
          }
        ],
        "effects": [],
        "range": "<=4.1.2",
        "nodes": [
          "node_modules/swagger-ui-dist"
        ],
        "fixAvailable": {
          "name": "swagger-ui-dist",
          "version": "5.31.0",
          "isSemVerMajor": true
        }
      },
      "tar": {
        "name": "tar",
        "severity": "high",
        "isDirect": false,
        "via": [
          {
            "source": 1112255,
            "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": 1112329,
            "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"
            ],
            "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.3",
        "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/tough-cookie"
        ],
        "fixAvailable": false
      },
      "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": 7,
        "critical": 2,
        "total": 15
      },
      "dependencies": {
        "prod": 264,
        "dev": 420,
        "optional": 15,
        "peer": 1,
        "peerOptional": 0,
        "total": 697
      }
    }
  }
}

--- end ---
{"added": 697, "removed": 0, "changed": 0, "audited": 698, "funding": 131, "audit": {"auditReportVersion": 2, "vulnerabilities": {"body-parser": {"name": "body-parser", "severity": "high", "isDirect": false, "via": ["qs"], "effects": [], "range": "<=1.20.3 || 2.0.0-beta.1 - 2.0.2", "nodes": [""], "fixAvailable": true}, "diff": {"name": "diff", "severity": "low", "isDirect": false, "via": [{"source": 1112327, "name": "diff", "dependency": "diff", "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch", "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx", "severity": "low", "cwe": ["CWE-400", "CWE-1333"], "cvss": {"score": 0, "vectorString": null}, "range": ">=5.0.0 <5.2.2"}], "effects": [], "range": "5.0.0 - 5.2.1", "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}}, "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": "high", "isDirect": false, "via": [{"source": 1111755, "name": "qs", "dependency": "qs", "title": "qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion", "url": "https://github.com/advisories/GHSA-6rw7-vpxm-498p", "severity": "high", "cwe": ["CWE-20"], "cvss": {"score": 7.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}, "range": "<6.14.1"}], "effects": ["body-parser", "request"], "range": "<6.14.1", "nodes": ["", "", "node_modules/request/node_modules/qs"], "fixAvailable": false}, "request": {"name": "request", "severity": "critical", "isDirect": true, "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}, "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}}, "swagger-ui-dist": {"name": "swagger-ui-dist", "severity": "moderate", "isDirect": true, "via": [{"source": 1088759, "name": "swagger-ui-dist", "dependency": "swagger-ui-dist", "title": "Spoofing attack in swagger-ui-dist", "url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x", "severity": "moderate", "cwe": ["CWE-1021"], "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": "<4.1.3"}, {"source": 1092160, "name": "swagger-ui-dist", "dependency": "swagger-ui-dist", "title": "Server side request forgery in SwaggerUI", "url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 0, "vectorString": null}, "range": "<4.1.3"}], "effects": [], "range": "<=4.1.2", "nodes": ["node_modules/swagger-ui-dist"], "fixAvailable": {"name": "swagger-ui-dist", "version": "5.31.0", "isSemVerMajor": true}}, "tar": {"name": "tar", "severity": "high", "isDirect": false, "via": [{"source": 1112255, "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": 1112329, "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"], "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.3", "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/tough-cookie"], "fixAvailable": false}, "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": 7, "critical": 2, "total": 15}, "dependencies": {"prod": 264, "dev": 420, "optional": 15, "peer": 1, "peerOptional": 0, "total": 697}}}}
$ /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 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 glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated 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 693 packages, and audited 694 packages in 8s

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

# npm audit report

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: high
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



swagger-ui-dist  <=4.1.2
Severity: moderate
Spoofing attack in swagger-ui-dist - https://github.com/advisories/GHSA-6c9x-mj3g-h47x
Server side request forgery in SwaggerUI - https://github.com/advisories/GHSA-qrmm-w75w-3wpx
fix available via `npm audit fix --force`
Will install swagger-ui-dist@5.31.0, which is a breaking change
node_modules/swagger-ui-dist

tar  <=7.5.3
Severity: high
node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization - https://github.com/advisories/GHSA-8qq5-rm4j-mr97
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/tough-cookie

13 vulnerabilities (5 moderate, 6 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 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 glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated 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 693 packages, and audited 694 packages in 8s

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

13 vulnerabilities (5 moderate, 6 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
--- 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 (304ms)
        ✔ Chooses worldcat publication year
        ✔ Multilingual date - Spanish - leaves as written
        ✔ Multilingual date - Russian - leaves as written (44ms)
        ✔ 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 (70ms)
    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 (796ms)
  4 pending



  address restrictions
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:08.728Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"7acef740-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"node","x-request-id":"7acef740-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55634},"msg":"http://localhost:1970 is not public, and is disallowed","time":"2026-01-21T05:03:09.495Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"msg":"requestFromURL failed for http://localhost:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"7acef740-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"node","x-request-id":"7acef740-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55634},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:09.497Z","v":0}
    ✔ http://localhost:1970 (58ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"7ad36410-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"node","x-request-id":"7ad36410-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55634},"msg":"http://127.0.0.1:1970 is not public, and is disallowed","time":"2026-01-21T05:03:09.522Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"msg":"requestFromURL failed for http://127.0.0.1:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"7ad36410-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"node","x-request-id":"7ad36410-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55634},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:09.523Z","v":0}
    ✔ http://127.0.0.1:1970
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"msg":"requestFromURL failed for http://foobarbaz.example.com/","outgoingReqResult":{"error":"AddressError"},"request_id":"7ad4c3a0-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2Ffoobarbaz.example.com%2F","headers":{"user-agent":"node","x-request-id":"7ad4c3a0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55622},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:09.612Z","v":0}
    ✔ non-existing (90ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"7ae2cd60-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"node","x-request-id":"7ae2cd60-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55622},"msg":"http://10.0.0.5/ is not public, and is disallowed","time":"2026-01-21T05:03:09.625Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"msg":"requestFromURL failed for http://10.0.0.5/","outgoingReqResult":{"error":"AddressError"},"request_id":"7ae2cd60-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"node","x-request-id":"7ae2cd60-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55622},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:09.626Z","v":0}
    ✔ 10.0.0.5
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"7ae47b10-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"7ae47b10-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55622},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-21T05:03:09.635Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"msg":"requestFromURL failed for http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"7ae47b10-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"7ae47b10-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55622},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:09.636Z","v":0}
    ✔ private ip
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/zotero","request_id":"7ae58c80-f686-11f0-9126-955e6293a738","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":"7ae58c80-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55622},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2026-01-21T05:03:10.611Z","v":0}
    ✔ acceptable domain, with scheme (1228ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/zotero","request_id":"7ba11450-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/en.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"user-agent":"node","x-request-id":"7ba11450-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55622},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2026-01-21T05:03:10.885Z","v":0}
    ✔ acceptable domain, without scheme (164ms)

  encoding
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:11.041Z","v":0}
    ✔ javascript in format
    ✔ javascript in doi (81ms)
    ✔ json in format
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/pubmed","request_id":"7bbf23a0-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/10.1000%2Ff%3Cscript%3Ealert(1)%3B%3C%2Fscript%3E","headers":{"user-agent":"node","x-request-id":"7bbf23a0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55660},"msg":"Unknown pubmed error","time":"2026-01-21T05:03:11.157Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7bcbf4e0-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com%2Fspaces%20in%20url","headers":{"user-agent":"node","x-request-id":"7bcbf4e0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55648},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.185Z","v":0}
    ✔ spaces in fully qualified url (42ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7bd2f9c0-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/www.example.com%2Fspaces%20in%20url","headers":{"user-agent":"node","x-request-id":"7bd2f9c0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55648},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.219Z","v":0}
    ✔ spaces in url missing http://
    ✔ Handles weird encoding

  errors
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:11.244Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"msg":"requestFromURL failed for https://example./com","outgoingReqResult":{"error":"AddressError"},"request_id":"7bdda820-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/example.%2Fcom","headers":{"user-agent":"node","x-request-id":"7bdda820-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55690},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.271Z","v":0}
    ✔ bad domain
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7bdf2ec0-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/https%3A%2F%2Fen.wikipedia.org%2F404","headers":{"user-agent":"node","x-request-id":"7bdf2ec0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55674},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.297Z","v":0}
    ✔ resource has http errors
    ✔ unknown doi (71ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7bedd4c0-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68'","headers":{"user-agent":"node","x-request-id":"7bedd4c0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55674},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.412Z","v":0}
    ✔ doi url with single quote (99ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7bfd3e10-f686-11f0-9126-955e6293a738","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%22","headers":{"user-agent":"node","x-request-id":"7bfd3e10-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55674},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.512Z","v":0}
    ✔ doi url with double quote (107ms)
    ✔ doi with single quote (87ms)
    ✔ PDF contentType unsupported
    - bad pmid
    - bad pmcid
    deprecated api: 
      ✔ format only
      ✔ search only
      ✔ valid search and format

  redirects
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:11.737Z","v":0}
    redirect chains
      ✔ redirect supported (90ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"7c34c8d0-f686-11f0-9126-955e6293a738","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":"7c34c8d0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55698},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-21T05:03:11.845Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"7c34c8d0-f686-11f0-9126-955e6293a738","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":"7c34c8d0-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55698},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.845Z","v":0}
      ✔ redir-to-private
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"7c369d90-f686-11f0-9126-955e6293a738","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":"7c369d90-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55698},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-21T05:03:11.865Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7c369d90-f686-11f0-9126-955e6293a738","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":"7c369d90-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55698},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.865Z","v":0}
      ✔ redir-to-redir-private
      ✔ follows relative redirects (67ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"7c448040-f686-11f0-9126-955e6293a738","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":"7c448040-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55698},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-21T05:03:11.961Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7c448040-f686-11f0-9126-955e6293a738","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":"7c448040-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55698},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:11.963Z","v":0}
      ✔ redir-to-redir-to-redir-to-private
      ✔ five-redirect-max-by-default-under (245ms)
      ✔ five-redirect-max-by-default-equal (142ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":314,"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":"7c842150-f686-11f0-9126-955e6293a738","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":"7c842150-f686-11f0-9126-955e6293a738"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":55698},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:12.386Z","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 (45ms)
      ✔ 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":"0f3901b50c01","pid":325,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:17.255Z","v":0}
    ✔ should not get deprecated query style request for uri (48ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":325,"level":40,"levelPath":"warn/zotero","request_id":"7fe80cd0-f686-11f0-b168-0bd375949b46","request":{"url":"/mediawiki/http%3A%2F%2Fexample.com","headers":{"user-agent":"node","x-request-id":"7fe80cd0-f686-11f0-b168-0bd375949b46"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35560},"msg":"No Zot response available for http://example.com","time":"2026-01-21T05:03:18.140Z","v":0}
    ✔ should get restbase style request for uri (171ms)

  express app
{"name":"citoid","hostname":"0f3901b50c01","pid":325,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:18.218Z","v":0}
    ✔ should get robots.txt
    ✔ get landing page
    ✔ should set CORS headers
    ✔ should set CSP headers

  service information
{"name":"citoid","hostname":"0f3901b50c01","pid":325,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:18.275Z","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":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:23.960Z","v":0}
    ✔ webpage (238ms)

  Native scraper:
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:24.836Z","v":0}
    - doi in url with query parameters
    ✔ Adds extra parameters for archive.org (1545ms)
    ✔ missing protocol (50ms)
    ✔ case sensitive url (130ms)
    ✔ case sensitive url missing protocol (94ms)

  Languages (no zotero):
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:26.669Z","v":0}
    ✔ open graph locale converted to language code (1581ms)
    ✔ non-native to node encoding in response (1897ms)
    - 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":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:30.155Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"87214340-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"87214340-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"bibtex"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48884},"msg":"No Zot response available for http://www.example.com","time":"2026-01-21T05:03:30.191Z","v":0}
    ✔ Get error for bibtex export (74ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"872c18b0-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"872c18b0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48874},"msg":"No Zot response available for http://www.example.com","time":"2026-01-21T05:03:30.256Z","v":0}
    ✔ Success with mediawiki export (47ms)

  Mock crossref and doi.org failures
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:30.286Z","v":0}
    ✔ Falls back on doi.org resolver when api is not available (218ms)
    ✔ falls back to CrossRef when DOI.org resolver is unavailable (39ms)

  Zotero service down or disabled:
    unreachable
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:30.563Z","v":0}
      ✔ PMID not in doi id converter api (70ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"876be0d0-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"node","x-request-id":"876be0d0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:30.863Z","v":0}
      ✔ doi that points to pdf (463ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"87b2add0-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/PMC3605911","headers":{"user-agent":"node","x-request-id":"87b2add0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002947","time":"2026-01-21T05:03:31.749Z","v":0}
      ✔ PMCID present in doi id converter api (1270ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"88749e40-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"88749e40-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:32.454Z","v":0}
      ✔ JSTOR page (210ms)
      - requires JS to be enabled
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"88951e90-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fdoi.org%2F10.1002%2Fjlac.18571010113","headers":{"user-agent":"node","x-request-id":"88951e90-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://chemistry-europe.onlinelibrary.wiley.com/doi/10.1002/jlac.18571010113","time":"2026-01-21T05:03:32.951Z","v":0}
      ✔ doi spage and epage fields in crossRef coins data (707ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"890126d0-f686-11f0-8fe1-1bfe2f102f68","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":"890126d0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0","time":"2026-01-21T05:03:34.394Z","v":0}
      ✔ successfully uses highwire press metadata (2233ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"8a55e160-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fuknowledge.uky.edu%2Fupk_african_history%2F1%2F","headers":{"user-agent":"node","x-request-id":"8a55e160-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://uknowledge.uky.edu/upk_african_history/1/","time":"2026-01-21T05:03:35.979Z","v":0}
      ✔ successfully uses bepress press metadata alone (753ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"8ac8c770-f686-11f0-8fe1-1bfe2f102f68","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":"8ac8c770-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:36.304Z","v":0}
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"8ac8c770-f686-11f0-8fe1-1bfe2f102f68","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":"8ac8c770-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.26954-0","time":"2026-01-21T05:03:36.798Z","v":0}
      ✔ Dead url with correct doi (1232ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"8b851290-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"8b851290-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"bibtex"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for http://www.example.com","time":"2026-01-21T05:03:37.554Z","v":0}
      ✔ Get error for bibtex export (56ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"8b8d9e10-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"8b8d9e10-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:37.641Z","v":0}
      ✔ requires cookie handling (174ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"8ba803e0-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.1038%2Fscientificamerican0200-90","headers":{"user-agent":"node","x-request-id":"8ba803e0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://www.scientificamerican.com/article/uprooting-the-tree-of-life/","time":"2026-01-21T05:03:38.917Z","v":0}
      ✔ DOI pointing to resource that can't be scraped - uses crossRef (1249ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"8c66e710-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"8c66e710-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:39.106Z","v":0}
      ✔ dx.DOI link - uses crossRef (214ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"8c878e70-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.14344%2FIOC.ML.4.4","headers":{"user-agent":"node","x-request-id":"8c878e70-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://www.worldbirdnames.org/ioc-lists/crossref/","time":"2026-01-21T05:03:40.277Z","v":0}
      ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (4417ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"8f29b090-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.1016%2FS0305-0491(98)00022-4","headers":{"user-agent":"node","x-request-id":"8f29b090-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://linkinghub.elsevier.com/retrieve/pii/S0305049198000224","time":"2026-01-21T05:03:43.760Z","v":0}
      ✔ gets date from crossRef REST API (235ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"8f4d8c40-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.1017%2Fisbn-9780511132971.eh1-7","headers":{"user-agent":"node","x-request-id":"8f4d8c40-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://hsus.cambridge.org/HSUSWeb/jsp/Intermediate.jsp?id=Eh1-7","time":"2026-01-21T05:03:46.014Z","v":0}
      ✔ gets editors from crossRef REST API for book-tract type (2700ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"90e98900-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.4271%2F2015-01-0821","headers":{"user-agent":"node","x-request-id":"90e98900-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"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-01-21T05:03:49.495Z","v":0}
      ✔ gets proceedings from crossRef REST API (3941ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"93430960-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fwww.google.com","headers":{"user-agent":"node","x-request-id":"93430960-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for http://www.google.com","time":"2026-01-21T05:03:50.544Z","v":0}
      ✔ uses original url (125ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"93564340-f686-11f0-8fe1-1bfe2f102f68","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":"93564340-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://www.woorank.com/en/blog/dublin-core-metadata-for-seo-and-usability","time":"2026-01-21T05:03:51.163Z","v":0}
      ✔ websiteTitle but no publicationTitle (586ms)
      - dublinCore data with multiple identifiers in array
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"93afd4f0-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.1017%2Fs0305004100013554","headers":{"user-agent":"node","x-request-id":"93afd4f0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"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-01-21T05:03:52.937Z","v":0}
      ✔ has page range in direct scrape (3215ms)
      ✔ Only PMCID but no PMID or DOI; does not scrape (51ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"95a27d30-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.1029%2F94WR00436","headers":{"user-agent":"node","x-request-id":"95a27d30-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":48906},"msg":"No Zot response available for https://agupubs.onlinelibrary.wiley.com/doi/10.1029/94WR00436","time":"2026-01-21T05:03:55.112Z","v":0}
      ✔ DOI with redirect - Wiley (784ms)
    disabled in conf
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:03:55.285Z","v":0}
      ✔ PMID not in doi id converter api (57ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"9624cc90-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"node","x-request-id":"9624cc90-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":46040},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:55.519Z","v":0}
      ✔ doi that points to pdf (199ms)
      ✔ PMCID present in doi id converter api (547ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"9696ef50-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"9696ef50-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":46040},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:56.160Z","v":0}
      ✔ JSTOR page with tabs in natively scraped title (173ms)
      - requires JS to be enabled
      ✔ doi spage and epage fields in crossRef coins data (720ms)
      ✔ successfully uses highwire press metadata (2268ms)
      ✔ successfully uses bepress press metadata alone (685ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"98e1f0c0-f686-11f0-8fe1-1bfe2f102f68","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":"98e1f0c0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":46040},"levelPath":"warn/CitoidService","time":"2026-01-21T05:03:59.952Z","v":0}
      ✔ Dead url with doi (761ms)
      ✔ Get error for bibtex export (45ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"995d6250-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"995d6250-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":46040},"levelPath":"warn/CitoidService","time":"2026-01-21T05:04:00.815Z","v":0}
      ✔ requires cookie handling (183ms)
      ✔ DOI pointing to resource that can't be scraped - uses crossRef (461ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"99bfcda0-f686-11f0-8fe1-1bfe2f102f68","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"99bfcda0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":46040},"levelPath":"warn/CitoidService","time":"2026-01-21T05:04:01.492Z","v":0}
      ✔ dx.DOI link - uses crossRef (216ms)
      ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (953ms)
      ✔ gets date from crossRef REST API (234ms)
      ✔ gets editors from crossRef REST API for book-tract type (3330ms)
      ✔ gets proceedings from crossRef REST API (150ms)
      ✔ No PMID or DOI; does not scrape (51ms)
      ✔ DOI with redirect - Wiley (836ms)

  Freetext or ambiguous search, classified as "any" input type, i.e. title or citation
    Default config
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:04:07.181Z","v":0}
      ✔ spaces in url missing http:// and www (412ms)
      ✔ json in search (61ms)
      ✔ javascript in search (169ms)
      ✔ localhost:1970 (121ms)
      ✔ Open search for Schrodinger (577ms)
      ✔ Open search containing <> works; but gets wrong results from crossRef (308ms)
      ✔ Open search with www but no protocol (374ms)
      - Open search with doi
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"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":"9e686e20-f686-11f0-8fe1-1bfe2f102f68","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":"9e686e20-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37206},"levelPath":"warn/CitoidService","time":"2026-01-21T05:04:09.778Z","v":0}
      ✔ Open search with url (565ms)
      ✔ Open search with single term (812ms)
      ✔ Harry Potter (212ms)
      ✔ No results returns 404 (377ms)
      ✔ should fail for whitespace-only query
      ✔ should extract URL from citation template with pipes (435ms)
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":40,"msg":"requestFromURL failed for http://www.example.com+/","outgoingReqResult":{"error":"AddressError"},"request_id":"9fd7dca0-f686-11f0-8fe1-1bfe2f102f68","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":"9fd7dca0-f686-11f0-8fe1-1bfe2f102f68"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":37206},"levelPath":"warn/CitoidService","time":"2026-01-21T05:04:11.633Z","v":0}
      ✔ should only get open search results as url cannot be extracted (800ms)

  Tests using a very short timeout - all use crossRef - zotero disabled
{"name":"citoid","hostname":"0f3901b50c01","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-21T05:04:12.431Z","v":0}
    DOI  
      ✔ DOI- missing PMCID (40ms)
      ✔ direct DOI (61ms)
      ✔ DOI with redirect
      - 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 (103ms)
      ✔ doi pointing to conferencePaper
      - doi in url with query parameters
      ✔ doi with US style date (74ms)


  71 passing (49s)
  10 pending


--- end ---
{}
{"1112327": {"source": 1112327, "name": "diff", "dependency": "diff", "title": "jsdiff has a Denial of Service vulnerability in parsePatch and applyPatch", "url": "https://github.com/advisories/GHSA-73rr-hh4g-fpgx", "severity": "low", "cwe": ["CWE-400", "CWE-1333"], "cvss": {"score": 0, "vectorString": null}, "range": ">=5.0.0 <5.2.2"}}
Upgrading n:diff from 5.2.0 -> 5.2.2
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json

--- end ---
build: Updating diff to 5.2.2

* https://github.com/advisories/GHSA-73rr-hh4g-fpgx

$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmp6p32k2cb
--- stdout ---
[master 50c2800] build: Updating diff to 5.2.2
 1 file changed, 40 insertions(+), 80 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 50c28003b99d63df3d3db124779f029110b17da5 Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 21 Jan 2026 05:04:13 +0000
Subject: [PATCH] build: Updating diff to 5.2.2

* https://github.com/advisories/GHSA-73rr-hh4g-fpgx

Change-Id: I9aa90c459949ac6646ca2764bf892caac27ec0f4
---
 package-lock.json | 120 ++++++++++++++++------------------------------
 1 file changed, 40 insertions(+), 80 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 3379698..09ad3ca 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1562,23 +1562,22 @@
 			"integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg=="
 		},
 		"node_modules/body-parser": {
-			"version": "1.20.3",
-			"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz",
-			"integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==",
-			"license": "MIT",
+			"version": "1.20.4",
+			"resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.4.tgz",
+			"integrity": "sha512-ZTgYYLMOXY9qKU/57FAo8F+HA2dGX7bqGc71txDRC1rS4frdFI5R7NhluHxH6M0YItAP0sHB4uqAOcYKxO6uGA==",
 			"dependencies": {
-				"bytes": "3.1.2",
+				"bytes": "~3.1.2",
 				"content-type": "~1.0.5",
 				"debug": "2.6.9",
 				"depd": "2.0.0",
-				"destroy": "1.2.0",
-				"http-errors": "2.0.0",
-				"iconv-lite": "0.4.24",
-				"on-finished": "2.4.1",
-				"qs": "6.13.0",
-				"raw-body": "2.5.2",
+				"destroy": "~1.2.0",
+				"http-errors": "~2.0.1",
+				"iconv-lite": "~0.4.24",
+				"on-finished": "~2.4.1",
+				"qs": "~6.14.0",
+				"raw-body": "~2.5.3",
 				"type-is": "~1.6.18",
-				"unpipe": "1.0.0"
+				"unpipe": "~1.0.0"
 			},
 			"engines": {
 				"node": ">= 0.8",
@@ -2512,9 +2511,9 @@
 			}
 		},
 		"node_modules/diff": {
-			"version": "5.2.0",
-			"resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz",
-			"integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==",
+			"version": "5.2.2",
+			"resolved": "https://registry.npmjs.org/diff/-/diff-5.2.2.tgz",
+			"integrity": "sha512-vtcDfH3TOjP8UekytvnHH1o1P4FcUdt4eQ1Y+Abap1tk/OB2MWQvcwS2ClCd1zuIhc3JKOx6p3kod8Vfys3E+A==",
 			"dev": true,
 			"engines": {
 				"node": ">=0.3.1"
@@ -3592,25 +3591,6 @@
 				}
 			}
 		},
-		"node_modules/express/node_modules/http-errors": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
-			"integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
-			"dependencies": {
-				"depd": "~2.0.0",
-				"inherits": "~2.0.4",
-				"setprototypeof": "~1.2.0",
-				"statuses": "~2.0.2",
-				"toidentifier": "~1.0.1"
-			},
-			"engines": {
-				"node": ">= 0.8"
-			},
-			"funding": {
-				"type": "opencollective",
-				"url": "https://opencollective.com/express"
-			}
-		},
 		"node_modules/express/node_modules/iconv-lite": {
 			"version": "0.7.0",
 			"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.7.0.tgz",
@@ -3671,21 +3651,6 @@
 				"node": ">= 0.6"
 			}
 		},
-		"node_modules/express/node_modules/qs": {
-			"version": "6.14.0",
-			"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.0.tgz",
-			"integrity": "sha512-YWWTjgABSKcvs/nWBi9PycY/JiPJqOD4JA6o9Sej2AtvSGarXxKC3OQSk4pAarbdQlKAh5D4FCQkJNkW+GAn3w==",
-			"license": "BSD-3-Clause",
-			"dependencies": {
-				"side-channel": "^1.1.0"
-			},
-			"engines": {
-				"node": ">=0.6"
-			},
-			"funding": {
-				"url": "https://github.com/sponsors/ljharb"
-			}
-		},
 		"node_modules/express/node_modules/raw-body": {
 			"version": "3.0.2",
 			"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-3.0.2.tgz",
@@ -3700,14 +3665,6 @@
 				"node": ">= 0.10"
 			}
 		},
-		"node_modules/express/node_modules/statuses": {
-			"version": "2.0.2",
-			"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
-			"integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
-			"engines": {
-				"node": ">= 0.8"
-			}
-		},
 		"node_modules/express/node_modules/type-is": {
 			"version": "2.0.1",
 			"resolved": "https://registry.npmjs.org/type-is/-/type-is-2.0.1.tgz",
@@ -4443,18 +4400,22 @@
 			}
 		},
 		"node_modules/http-errors": {
-			"version": "2.0.0",
-			"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
-			"integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
+			"version": "2.0.1",
+			"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.1.tgz",
+			"integrity": "sha512-4FbRdAX+bSdmo4AUFuS0WNiPz8NgFt+r8ThgNWmlrjQjt1Q7ZR9+zTlce2859x4KSXrwIsaeTqDoKQmtP8pLmQ==",
 			"dependencies": {
-				"depd": "2.0.0",
-				"inherits": "2.0.4",
-				"setprototypeof": "1.2.0",
-				"statuses": "2.0.1",
-				"toidentifier": "1.0.1"
+				"depd": "~2.0.0",
+				"inherits": "~2.0.4",
+				"setprototypeof": "~1.2.0",
+				"statuses": "~2.0.2",
+				"toidentifier": "~1.0.1"
 			},
 			"engines": {
 				"node": ">= 0.8"
+			},
+			"funding": {
+				"type": "opencollective",
+				"url": "https://opencollective.com/express"
 			}
 		},
 		"node_modules/http-shutdown": {
@@ -6529,12 +6490,11 @@
 			}
 		},
 		"node_modules/qs": {
-			"version": "6.13.0",
-			"resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz",
-			"integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==",
-			"license": "BSD-3-Clause",
+			"version": "6.14.1",
+			"resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz",
+			"integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==",
 			"dependencies": {
-				"side-channel": "^1.0.6"
+				"side-channel": "^1.1.0"
 			},
 			"engines": {
 				"node": ">=0.6"
@@ -6589,14 +6549,14 @@
 			}
 		},
 		"node_modules/raw-body": {
-			"version": "2.5.2",
-			"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
-			"integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
+			"version": "2.5.3",
+			"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.3.tgz",
+			"integrity": "sha512-s4VSOf6yN0rvbRZGxs8Om5CWj6seneMwK3oDb4lWDH0UPhWcxwOWw5+qk24bxq87szX1ydrwylIOp2uG1ojUpA==",
 			"dependencies": {
-				"bytes": "3.1.2",
-				"http-errors": "2.0.0",
-				"iconv-lite": "0.4.24",
-				"unpipe": "1.0.0"
+				"bytes": "~3.1.2",
+				"http-errors": "~2.0.1",
+				"iconv-lite": "~0.4.24",
+				"unpipe": "~1.0.0"
 			},
 			"engines": {
 				"node": ">= 0.8"
@@ -7415,9 +7375,9 @@
 			}
 		},
 		"node_modules/statuses": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
-			"integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.2.tgz",
+			"integrity": "sha512-DvEy55V3DB7uknRo+4iOGT5fP1slR8wQohVdknigZPMpMstaKJQWhwiYBACJE3Ul2pTnATihhBYnRhZQHGBiRw==",
 			"engines": {
 				"node": ">= 0.8"
 			}
-- 
2.47.3


--- end ---
Source code is licensed under the AGPL.