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

sourcepatches

This run took 112 seconds.

From 1e547f9a81d5d90b5f3ff9049d1fe12e52f8f15e Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 14 Jun 2025 15:17:42 +0000
Subject: [PATCH] build: Updating brace-expansion to 1.1.12, 2.0.2

* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw

Change-Id: Ib3d546d2e48c73d58fb1e51e85d92d6789119fdf
---
 package-lock.json | 33 +++++++++++++++------------------
 1 file changed, 15 insertions(+), 18 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 5c289e9..6f5cd95 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -947,11 +947,10 @@
 			}
 		},
 		"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
-			"license": "MIT",
 			"dependencies": {
 				"balanced-match": "^1.0.0"
 			}
@@ -1392,9 +1391,9 @@
 			"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="
 		},
 		"node_modules/brace-expansion": {
-			"version": "1.1.11",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
-			"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+			"version": "1.1.12",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+			"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
 			"devOptional": true,
 			"dependencies": {
 				"balanced-match": "^1.0.0",
@@ -2819,11 +2818,10 @@
 			}
 		},
 		"node_modules/eslint-plugin-n/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
-			"license": "MIT",
 			"dependencies": {
 				"balanced-match": "^1.0.0"
 			}
@@ -3776,11 +3774,10 @@
 			}
 		},
 		"node_modules/glob/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
-			"license": "MIT",
 			"dependencies": {
 				"balanced-match": "^1.0.0"
 			}
@@ -5098,9 +5095,9 @@
 			"dev": true
 		},
 		"node_modules/mocha/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
 			"dependencies": {
 				"balanced-match": "^1.0.0"
-- 
2.39.5

$ date
--- stdout ---
Sat Jun 14 15:15:53 UTC 2025

--- end ---
$ git clone file:///srv/git/mediawiki-services-citoid.git repo --depth=1 -b master
--- stderr ---
Cloning into 'repo'...
--- stdout ---

--- end ---
$ git config user.name libraryupgrader
--- stdout ---

--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---

--- end ---
$ git submodule update --init
--- stdout ---

--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.

--- end ---
$ git show-ref refs/heads/master
--- stdout ---
013998cdb98cff45710dcba530aa5f831ac93bd2 refs/heads/master

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "brace-expansion": {
      "name": "brace-expansion",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1105443,
          "name": "brace-expansion",
          "dependency": "brace-expansion",
          "title": "brace-expansion Regular Expression Denial of Service vulnerability",
          "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
          "severity": "low",
          "cwe": [
            "CWE-400"
          ],
          "cvss": {
            "score": 3.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": ">=1.0.0 <=1.1.11"
        },
        {
          "source": 1105444,
          "name": "brace-expansion",
          "dependency": "brace-expansion",
          "title": "brace-expansion Regular Expression Denial of Service vulnerability",
          "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
          "severity": "low",
          "cwe": [
            "CWE-400"
          ],
          "cvss": {
            "score": 3.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": ">=2.0.0 <=2.0.1"
        }
      ],
      "effects": [],
      "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1",
      "nodes": [
        "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion",
        "node_modules/brace-expansion",
        "node_modules/eslint-plugin-n/node_modules/brace-expansion",
        "node_modules/glob/node_modules/brace-expansion",
        "node_modules/mocha/node_modules/brace-expansion"
      ],
      "fixAvailable": true
    },
    "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": "3.0.0",
        "isSemVerMajor": true
      }
    },
    "ms": {
      "name": "ms",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1094419,
          "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": "3.0.0",
        "isSemVerMajor": true
      }
    },
    "preq": {
      "name": "preq",
      "severity": "high",
      "isDirect": true,
      "via": [
        "request",
        "requestretry"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/preq"
      ],
      "fixAvailable": false
    },
    "request": {
      "name": "request",
      "severity": "moderate",
      "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"
        },
        "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": "*",
      "nodes": [
        "node_modules/requestretry"
      ],
      "fixAvailable": false
    },
    "service-runner": {
      "name": "service-runner",
      "severity": "moderate",
      "isDirect": true,
      "via": [
        "limitation"
      ],
      "effects": [],
      "range": ">=3.1.0",
      "nodes": [
        "node_modules/service-runner"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "3.0.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.24.1",
        "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": "3.0.0",
        "isSemVerMajor": true
      }
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 1,
      "moderate": 7,
      "high": 3,
      "critical": 0,
      "total": 11
    },
    "dependencies": {
      "prod": 247,
      "dev": 397,
      "optional": 15,
      "peer": 1,
      "peerOptional": 0,
      "total": 657
    }
  }
}

--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
  "auditReportVersion": 2,
  "vulnerabilities": {
    "brace-expansion": {
      "name": "brace-expansion",
      "severity": "low",
      "isDirect": false,
      "via": [
        {
          "source": 1105443,
          "name": "brace-expansion",
          "dependency": "brace-expansion",
          "title": "brace-expansion Regular Expression Denial of Service vulnerability",
          "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
          "severity": "low",
          "cwe": [
            "CWE-400"
          ],
          "cvss": {
            "score": 3.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": ">=1.0.0 <=1.1.11"
        },
        {
          "source": 1105444,
          "name": "brace-expansion",
          "dependency": "brace-expansion",
          "title": "brace-expansion Regular Expression Denial of Service vulnerability",
          "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
          "severity": "low",
          "cwe": [
            "CWE-400"
          ],
          "cvss": {
            "score": 3.1,
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
          },
          "range": ">=2.0.0 <=2.0.1"
        }
      ],
      "effects": [],
      "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1",
      "nodes": [
        "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion",
        "node_modules/brace-expansion",
        "node_modules/eslint-plugin-n/node_modules/brace-expansion",
        "node_modules/glob/node_modules/brace-expansion",
        "node_modules/mocha/node_modules/brace-expansion"
      ],
      "fixAvailable": true
    },
    "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": "3.0.0",
        "isSemVerMajor": true
      }
    },
    "ms": {
      "name": "ms",
      "severity": "moderate",
      "isDirect": false,
      "via": [
        {
          "source": 1094419,
          "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": "3.0.0",
        "isSemVerMajor": true
      }
    },
    "preq": {
      "name": "preq",
      "severity": "high",
      "isDirect": true,
      "via": [
        "request",
        "requestretry"
      ],
      "effects": [],
      "range": "*",
      "nodes": [
        "node_modules/preq"
      ],
      "fixAvailable": false
    },
    "request": {
      "name": "request",
      "severity": "moderate",
      "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"
        },
        "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": "*",
      "nodes": [
        "node_modules/requestretry"
      ],
      "fixAvailable": false
    },
    "service-runner": {
      "name": "service-runner",
      "severity": "moderate",
      "isDirect": true,
      "via": [
        "limitation"
      ],
      "effects": [],
      "range": ">=3.1.0",
      "nodes": [
        "node_modules/service-runner"
      ],
      "fixAvailable": {
        "name": "service-runner",
        "version": "3.0.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.24.1",
        "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": "3.0.0",
        "isSemVerMajor": true
      }
    }
  },
  "metadata": {
    "vulnerabilities": {
      "info": 0,
      "low": 1,
      "moderate": 7,
      "high": 3,
      "critical": 0,
      "total": 11
    },
    "dependencies": {
      "prod": 247,
      "dev": 397,
      "optional": 15,
      "peer": 1,
      "peerOptional": 0,
      "total": 657
    }
  }
}

--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'citoid@2.0.0',
npm WARN EBADENGINE   required: { node: '20' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
--- stdout ---
{
  "added": 657,
  "removed": 0,
  "changed": 0,
  "audited": 658,
  "funding": 117,
  "audit": {
    "auditReportVersion": 2,
    "vulnerabilities": {
      "brace-expansion": {
        "name": "brace-expansion",
        "severity": "low",
        "isDirect": false,
        "via": [
          {
            "source": 1105443,
            "name": "brace-expansion",
            "dependency": "brace-expansion",
            "title": "brace-expansion Regular Expression Denial of Service vulnerability",
            "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
            "severity": "low",
            "cwe": [
              "CWE-400"
            ],
            "cvss": {
              "score": 3.1,
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
            },
            "range": ">=1.0.0 <=1.1.11"
          },
          {
            "source": 1105444,
            "name": "brace-expansion",
            "dependency": "brace-expansion",
            "title": "brace-expansion Regular Expression Denial of Service vulnerability",
            "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw",
            "severity": "low",
            "cwe": [
              "CWE-400"
            ],
            "cvss": {
              "score": 3.1,
              "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
            },
            "range": ">=2.0.0 <=2.0.1"
          }
        ],
        "effects": [],
        "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1",
        "nodes": [
          "",
          "",
          "",
          "",
          ""
        ],
        "fixAvailable": true
      },
      "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": "3.0.0",
          "isSemVerMajor": true
        }
      },
      "ms": {
        "name": "ms",
        "severity": "moderate",
        "isDirect": false,
        "via": [
          {
            "source": 1094419,
            "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": "3.0.0",
          "isSemVerMajor": true
        }
      },
      "preq": {
        "name": "preq",
        "severity": "high",
        "isDirect": true,
        "via": [
          "request",
          "requestretry"
        ],
        "effects": [],
        "range": "*",
        "nodes": [
          "node_modules/preq"
        ],
        "fixAvailable": false
      },
      "request": {
        "name": "request",
        "severity": "moderate",
        "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"
          },
          "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": "*",
        "nodes": [
          "node_modules/requestretry"
        ],
        "fixAvailable": false
      },
      "service-runner": {
        "name": "service-runner",
        "severity": "moderate",
        "isDirect": true,
        "via": [
          "limitation"
        ],
        "effects": [],
        "range": ">=3.1.0",
        "nodes": [
          "node_modules/service-runner"
        ],
        "fixAvailable": {
          "name": "service-runner",
          "version": "3.0.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.24.1",
          "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": "3.0.0",
          "isSemVerMajor": true
        }
      }
    },
    "metadata": {
      "vulnerabilities": {
        "info": 0,
        "low": 1,
        "moderate": 7,
        "high": 3,
        "critical": 0,
        "total": 11
      },
      "dependencies": {
        "prod": 247,
        "dev": 397,
        "optional": 15,
        "peer": 1,
        "peerOptional": 0,
        "total": 657
      }
    }
  }
}

--- end ---
{"added": 657, "removed": 0, "changed": 0, "audited": 658, "funding": 117, "audit": {"auditReportVersion": 2, "vulnerabilities": {"brace-expansion": {"name": "brace-expansion", "severity": "low", "isDirect": false, "via": [{"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}, {"source": 1105444, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=2.0.0 <=2.0.1"}], "effects": [], "range": "1.0.0 - 1.1.11 || 2.0.0 - 2.0.1", "nodes": ["", "", "", "", ""], "fixAvailable": true}, "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": "3.0.0", "isSemVerMajor": true}}, "ms": {"name": "ms", "severity": "moderate", "isDirect": false, "via": [{"source": 1094419, "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": "3.0.0", "isSemVerMajor": true}}, "preq": {"name": "preq", "severity": "high", "isDirect": true, "via": ["request", "requestretry"], "effects": [], "range": "*", "nodes": ["node_modules/preq"], "fixAvailable": false}, "request": {"name": "request", "severity": "moderate", "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"}, "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": "*", "nodes": ["node_modules/requestretry"], "fixAvailable": false}, "service-runner": {"name": "service-runner", "severity": "moderate", "isDirect": true, "via": ["limitation"], "effects": [], "range": ">=3.1.0", "nodes": ["node_modules/service-runner"], "fixAvailable": {"name": "service-runner", "version": "3.0.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.24.1", "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": "3.0.0", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 1, "moderate": 7, "high": 3, "critical": 0, "total": 11}, "dependencies": {"prod": 247, "dev": 397, "optional": 15, "peer": 1, "peerOptional": 0, "total": 657}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'citoid@2.0.0',
npm WARN EBADENGINE   required: { node: '20' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
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 657 packages, and audited 658 packages in 9s

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

# npm audit report

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@3.0.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.1.0
      Depends on vulnerable versions of limitation
      node_modules/service-runner

request  *
Severity: moderate
Server-Side Request Forgery in Request - https://github.com/advisories/GHSA-p8p7-x288-28g6
Depends on vulnerable versions of tough-cookie
No fix available
node_modules/request
  preq  *
  Depends on vulnerable versions of request
  Depends on vulnerable versions of requestretry
  node_modules/preq
  requestretry  *
  Depends on vulnerable versions of request
  node_modules/requestretry


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.24.1, which is a breaking change
node_modules/swagger-ui-dist

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

10 vulnerabilities (7 moderate, 3 high)

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 EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: 'citoid@2.0.0',
npm WARN EBADENGINE   required: { node: '20' },
npm WARN EBADENGINE   current: { node: 'v18.19.0', npm: '9.2.0' }
npm WARN EBADENGINE }
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 657 packages, and audited 658 packages in 9s

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

10 vulnerabilities (7 moderate, 3 high)

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/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 (229ms)
        ✔ Chooses worldcat publication year
        ✔ Multilingual date - Spanish - leaves as written
        ✔ Multilingual date - Russian - leaves as written (45ms)
        ✔ 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 X
        ✔ Correctly adds valid ISSN with x
        ✔ Correctly ignores invalid ISSN without hyphen
        ✔ Correctly ignores invalid ISSN
      fixPages: 
        ✔ converts hyphen minus to en dash
      replaceCreators:
        ✔ Correctly adds name with firstName and lastName present
        ✔ Correctly adds names with only lastName or firstName present
        ✔ Adds names with name field
        ✔ Doesn't add names with incorrect field name
    export formats: 
      wikibase: 
        different search term types 
          ✔ url from search, doi from result
          ✔ doi from search, no url
          ✔ qid, no url
          ✔ pmid, no url
          ✔ pmcid, no url
        different item types
          ✔ itemType webpage
          ✔ itemType book
          ✔ itemType journalArticle

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

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

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

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

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

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

  translator utilities: 
    makeTranslator function: 
      ✔ strips leading and trailing whitespace
      ✔ replaces nonbreaking space characters with spaces
      ✔ correctly adds date with fixDate validate function
      ✔ correctly uses fixLang validate function
    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


  166 passing (644ms)
  4 pending



  address restrictions
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:29.792Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8cb7bed0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"undici","x-request-id":"8cb7bed0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://localhost:1970"},"query":{"format":"mediawiki","search":"http://localhost:1970"},"remoteAddress":"127.0.0.1","remotePort":34806},"msg":"http://localhost:1970 is not public, and is disallowed","time":"2025-06-14T15:16:30.656Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"msg":"requestFromURL failed for http://localhost:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"8cb7bed0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"undici","x-request-id":"8cb7bed0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://localhost:1970"},"query":{"format":"mediawiki","search":"http://localhost:1970"},"remoteAddress":"127.0.0.1","remotePort":34806},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:30.659Z","v":0}
    ✔ http://localhost:1970 (57ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8cbe0060-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"undici","x-request-id":"8cbe0060-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://127.0.0.1:1970"},"query":{"format":"mediawiki","search":"http://127.0.0.1:1970"},"remoteAddress":"127.0.0.1","remotePort":34806},"msg":"http://127.0.0.1:1970 is not public, and is disallowed","time":"2025-06-14T15:16:30.696Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"msg":"requestFromURL failed for http://127.0.0.1:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"8cbe0060-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"undici","x-request-id":"8cbe0060-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://127.0.0.1:1970"},"query":{"format":"mediawiki","search":"http://127.0.0.1:1970"},"remoteAddress":"127.0.0.1","remotePort":34806},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:30.697Z","v":0}
    ✔ http://127.0.0.1:1970
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"msg":"requestFromURL failed for http://foobarbaz.example.com/","outgoingReqResult":{"error":"AddressError"},"request_id":"8cbf8700-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2Ffoobarbaz.example.com%2F","headers":{"user-agent":"undici","x-request-id":"8cbf8700-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://foobarbaz.example.com/"},"query":{"format":"mediawiki","search":"http://foobarbaz.example.com/"},"remoteAddress":"127.0.0.1","remotePort":34800},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:30.715Z","v":0}
    ✔ non-existing
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8cc1d0f0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"undici","x-request-id":"8cc1d0f0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://10.0.0.5/"},"query":{"format":"mediawiki","search":"http://10.0.0.5/"},"remoteAddress":"127.0.0.1","remotePort":34800},"msg":"http://10.0.0.5/ is not public, and is disallowed","time":"2025-06-14T15:16:30.720Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"msg":"requestFromURL failed for http://10.0.0.5/","outgoingReqResult":{"error":"AddressError"},"request_id":"8cc1d0f0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"undici","x-request-id":"8cc1d0f0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://10.0.0.5/"},"query":{"format":"mediawiki","search":"http://10.0.0.5/"},"remoteAddress":"127.0.0.1","remotePort":34800},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:30.721Z","v":0}
    ✔ 10.0.0.5
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8cc2bb50-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"undici","x-request-id":"8cc2bb50-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://192.168.1.2"},"query":{"format":"mediawiki","search":"http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34800},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-06-14T15:16:30.726Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"msg":"requestFromURL failed for http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"8cc2bb50-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"undici","x-request-id":"8cc2bb50-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://192.168.1.2"},"query":{"format":"mediawiki","search":"http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34800},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:30.727Z","v":0}
    ✔ private ip
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/zotero","request_id":"8cc37ea0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"user-agent":"undici","x-request-id":"8cc37ea0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436"},"query":{"format":"mediawiki","search":"https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436"},"remoteAddress":"127.0.0.1","remotePort":34800},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2025-06-14T15:16:30.882Z","v":0}
    ✔ acceptable domain, with scheme (443ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/zotero","request_id":"8d071750-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/en.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"user-agent":"undici","x-request-id":"8d071750-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436"},"query":{"format":"mediawiki","search":"en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436"},"remoteAddress":"127.0.0.1","remotePort":34800},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=internet_assigned_numbers_authority&oldid=664999436","time":"2025-06-14T15:16:31.247Z","v":0}
    ✔ acceptable domain, without scheme (211ms)

  encoding
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:31.390Z","v":0}
    ✔ javascript in format
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/pubmed","request_id":"8d2b8f40-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/10.1000%2Ff%3Cscript%3Ealert(1)%3B%3C%2Fscript%3E","headers":{"user-agent":"undici","x-request-id":"8d2b8f40-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/10.1000/f<script>alert(1);</script>"},"query":{"format":"mediawiki","search":"10.1000/f<script>alert(1);</script>"},"remoteAddress":"127.0.0.1","remotePort":34824},"msg":"Unknown pubmed error","time":"2025-06-14T15:16:31.444Z","v":0}
    ✔ javascript in doi (105ms)
    ✔ json in format
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8d3c7f30-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com%2Fspaces%20in%20url","headers":{"user-agent":"undici","x-request-id":"8d3c7f30-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://www.example.com/spaces in url"},"query":{"format":"mediawiki","search":"http://www.example.com/spaces in url"},"remoteAddress":"127.0.0.1","remotePort":34820},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:31.855Z","v":0}
    ✔ spaces in fully qualified url (340ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8d70ae90-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/www.example.com%2Fspaces%20in%20url","headers":{"user-agent":"undici","x-request-id":"8d70ae90-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/www.example.com/spaces in url"},"query":{"format":"mediawiki","search":"www.example.com/spaces in url"},"remoteAddress":"127.0.0.1","remotePort":34820},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:31.876Z","v":0}
    ✔ spaces in url missing http://

  errors
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:31.884Z","v":0}
    ✔ missing search in query
    ✔ missing format in query
    ✔ bad format in query
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"msg":"requestFromURL failed for https://example./com","outgoingReqResult":{"error":"AddressError"},"request_id":"8d784fb0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/example.%2Fcom","headers":{"user-agent":"undici","x-request-id":"8d784fb0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/example./com"},"query":{"format":"mediawiki","search":"example./com"},"remoteAddress":"127.0.0.1","remotePort":34840},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:31.919Z","v":0}
    ✔ bad domain
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8d798830-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/https%3A%2F%2Fen.wikipedia.org%2F404","headers":{"user-agent":"undici","x-request-id":"8d798830-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://en.wikipedia.org/404"},"query":{"format":"mediawiki","search":"https://en.wikipedia.org/404"},"remoteAddress":"127.0.0.1","remotePort":34840},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:31.941Z","v":0}
    ✔ resource has http errors
    ✔ unknown doi (86ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8d8a5110-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68'","headers":{"user-agent":"undici","x-request-id":"8d8a5110-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://DOI.org/10.1007/11926078_68'"},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":34840},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:32.109Z","v":0}
    ✔ doi url with single quote (162ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/pubmed","request_id":"8d8a5110-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68'","headers":{"user-agent":"undici","x-request-id":"8d8a5110-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://DOI.org/10.1007/11926078_68'"},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":34840},"msg":"Unknown pubmed error","time":"2025-06-14T15:16:32.244Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8da35750-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%22","headers":{"user-agent":"undici","x-request-id":"8da35750-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://DOI.org/10.1007/11926078_68\""},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68\""},"remoteAddress":"127.0.0.1","remotePort":34840},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:32.271Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/pubmed","request_id":"8d8a5110-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68'","headers":{"user-agent":"undici","x-request-id":"8d8a5110-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/http://DOI.org/10.1007/11926078_68'"},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":34840},"msg":"Unknown pubmed error","time":"2025-06-14T15:16:32.315Z","v":0}
    ✔ doi url with double quote (153ms)
    ✔ doi with single quote (59ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/CitoidService","request_id":"8dc3feb0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2F9%2F98%2FColoring_page_for_Wikipedia_Day_2019_in_NYC.pdf","headers":{"user-agent":"undici","x-request-id":"8dc3feb0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://upload.wikimedia.org/wikipedia/commons/9/98/Coloring_page_for_Wikipedia_Day_2019_in_NYC.pdf"},"query":{"format":"mediawiki","search":"https://upload.wikimedia.org/wikipedia/commons/9/98/Coloring_page_for_Wikipedia_Day_2019_in_NYC.pdf"},"remoteAddress":"127.0.0.1","remotePort":34840},"msg":"requestFromURL failed with 415 error","time":"2025-06-14T15:16:32.433Z","v":0}
    ✔ PDF contentType unsupported
    - bad pmid
    - bad pmcid

  redirects
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:32.438Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/zotero","request_id":"8dc9a400-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2Fwww.example.com","headers":{"user-agent":"undici","x-request-id":"8dc9a400-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=http://www.example.com"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":34850},"msg":"No Zot response available for http://www.example.com","time":"2025-06-14T15:16:32.501Z","v":0}
    ✔ redirect supported (86ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8dd67540-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"undici","x-request-id":"8dd67540-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=http://192.168.1.2"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34848},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-06-14T15:16:32.538Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"8dd67540-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"undici","x-request-id":"8dd67540-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=http://192.168.1.2"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34848},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:32.538Z","v":0}
    ✔ redir-to-private
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8dd7d4d0-4932-11f0-bea2-2ff05b232429","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":"undici","x-request-id":"8dd7d4d0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34848},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-06-14T15:16:32.553Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8dd7d4d0-4932-11f0-bea2-2ff05b232429","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":"undici","x-request-id":"8dd7d4d0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34848},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:32.553Z","v":0}
    ✔ redir-to-redir-private
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/pubmed","request_id":"8dbafe00-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/10.1007%2F11926078_68'","headers":{"user-agent":"undici","x-request-id":"8dbafe00-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/10.1007/11926078_68'"},"query":{"format":"mediawiki","search":"10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":34840},"msg":"Unknown pubmed error","time":"2025-06-14T15:16:32.559Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/zotero","request_id":"8dda45d0-4932-11f0-bea2-2ff05b232429","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3D%2Fredirect-to%3Furl%3Dhttp%3A%2F%2Fexample.com","headers":{"user-agent":"undici","x-request-id":"8dda45d0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=/redirect-to?url=http://example.com"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=/redirect-to?url=http://example.com"},"remoteAddress":"127.0.0.1","remotePort":34848},"msg":"No Zot response available for http://example.com","time":"2025-06-14T15:16:32.585Z","v":0}
    ✔ follows relative redirects (39ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8de08760-4932-11f0-bea2-2ff05b232429","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":"undici","x-request-id":"8de08760-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34848},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-06-14T15:16:32.615Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8de08760-4932-11f0-bea2-2ff05b232429","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":"undici","x-request-id":"8de08760-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":34848},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:32.616Z","v":0}
    ✔ redir-to-redir-to-redir-to-private
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/zotero","request_id":"8de3bbb0-4932-11f0-bea2-2ff05b232429","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%2Fen.wikipedia.org%2Fwiki%2FZotero","headers":{"user-agent":"undici","x-request-id":"8de3bbb0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/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"},"query":{"format":"mediawiki","search":"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"},"remoteAddress":"127.0.0.1","remotePort":34848},"msg":"No Zot response available for https://en.wikipedia.org/wiki/Zotero","time":"2025-06-14T15:16:32.655Z","v":0}
    ✔ five-redirect-max-by-default-under (139ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"level":40,"levelPath":"warn/zotero","request_id":"8df91870-4932-11f0-bea2-2ff05b232429","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%2Fen.wikipedia.org%2Fwiki%2FZotero","headers":{"user-agent":"undici","x-request-id":"8df91870-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/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"},"query":{"format":"mediawiki","search":"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"},"remoteAddress":"127.0.0.1","remotePort":34848},"msg":"No Zot response available for https://en.wikipedia.org/wiki/Zotero","time":"2025-06-14T15:16:32.810Z","v":0}
    ✔ five-redirect-max-by-default-equal (134ms)
{"name":"citoid","hostname":"f4189b33874a","pid":434,"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":"8e0d8ad0-4932-11f0-bea2-2ff05b232429","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":"undici","x-request-id":"8e0d8ad0-4932-11f0-bea2-2ff05b232429"},"method":"GET","params":{"0":"/mediawiki/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"},"query":{"format":"mediawiki","search":"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"},"remoteAddress":"127.0.0.1","remotePort":34848},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:32.937Z","v":0}
    ✔ five-redirect-max-by-default-over (47ms)


  30 passing (3s)
  2 pending



  citoid routing
{"name":"citoid","hostname":"f4189b33874a","pid":445,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:38.559Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":445,"level":40,"levelPath":"warn/zotero","request_id":"91e9daa0-4932-11f0-8d04-ab6b199b5056","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fwww.example.com","headers":{"user-agent":"undici","x-request-id":"91e9daa0-4932-11f0-8d04-ab6b199b5056"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":32840},"msg":"No Zot response available for http://www.example.com","time":"2025-06-14T15:16:39.451Z","v":0}
    ✔ should get query style request for uri (165ms)
    ✔ should error for missing search param query style request
{"name":"citoid","hostname":"f4189b33874a","pid":445,"level":40,"levelPath":"warn/zotero","request_id":"91ff8580-4932-11f0-8d04-ab6b199b5056","request":{"url":"/api?format=mediawiki&search=10.1371%2Fjournal.pcbi.1002947","headers":{"user-agent":"undici","x-request-id":"91ff8580-4932-11f0-8d04-ab6b199b5056"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1371/journal.pcbi.1002947"},"remoteAddress":"127.0.0.1","remotePort":32828},"msg":"No Zot response available for https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002947","time":"2025-06-14T15:16:39.880Z","v":0}
    ✔ should get query style request for doi (1100ms)
{"name":"citoid","hostname":"f4189b33874a","pid":445,"level":40,"levelPath":"warn/zotero","request_id":"92a78550-4932-11f0-8d04-ab6b199b5056","request":{"url":"/mediawiki/http%3A%2F%2Fexample.com","headers":{"user-agent":"undici","x-request-id":"92a78550-4932-11f0-8d04-ab6b199b5056"},"method":"GET","params":{"0":"/mediawiki/http://example.com"},"query":{"format":"mediawiki","search":"http://example.com"},"remoteAddress":"127.0.0.1","remotePort":32828},"msg":"No Zot response available for http://example.com","time":"2025-06-14T15:16:40.749Z","v":0}
    ✔ should get restbase style request for uri (296ms)

  express app
{"name":"citoid","hostname":"f4189b33874a","pid":445,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:40.914Z","v":0}
    ✔ should get robots.txt
    ✔ get landing page
    ✔ should set CORS headers
    ✔ should set CSP headers

  service information
{"name":"citoid","hostname":"f4189b33874a","pid":445,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:40.957Z","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


  13 passing (2s)



  correctly gets base fields instead of more specific fields (no zotero)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:46.601Z","v":0}
    ✔ webpage (427ms)

  Native scraper:
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:47.677Z","v":0}
    - doi in url with query parameters
    ✔ Adds extra parameters for archive.org (1375ms)

  Languages (no zotero):
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:49.063Z","v":0}
    ✔ open graph locale converted to language code (1295ms)
    ✔ non-native to node encoding in response (1192ms)
    - 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":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:51.559Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"992f6d20-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"undici","x-request-id":"992f6d20-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/bibtex/http://www.example.com"},"query":{"format":"bibtex","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":47232},"msg":"No Zot response available for http://www.example.com","time":"2025-06-14T15:16:51.588Z","v":0}
    ✔ Get error for bibtex export (53ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9936e730-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"undici","x-request-id":"9936e730-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://www.example.com"},"query":{"format":"mediawiki","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":47218},"msg":"No Zot response available for http://www.example.com","time":"2025-06-14T15:16:51.628Z","v":0}
    ✔ Success with mediawiki export

  Zotero service down or disabled:
    unreachable
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:16:51.641Z","v":0}
      ✔ PMID not in doi id converter api (56ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/CitoidService","request_id":"99440690-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"undici","x-request-id":"99440690-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.26656/fr.2017.4(s1).s12"},"query":{"format":"mediawiki","search":"10.26656/fr.2017.4(s1).s12"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"requestFromURL failed with 415 error","time":"2025-06-14T15:16:52.000Z","v":0}
      ✔ doi that points to pdf (360ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"997af510-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/PMC3605911","headers":{"user-agent":"undici","x-request-id":"997af510-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/PMC3605911"},"query":{"format":"mediawiki","search":"PMC3605911"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002947","time":"2025-06-14T15:16:52.460Z","v":0}
      ✔ PMCID present in doi id converter api (703ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"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":"99e63a00-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"undici","x-request-id":"99e63a00-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://www.jstor.org/discover/10.2307/3677029"},"query":{"format":"mediawiki","search":"http://www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":47240},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:52.856Z","v":0}
      ✔ JSTOR page (239ms)
      - requires JS to be enabled
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9a0ab1f0-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fdoi.org%2F10.1002%2Fjlac.18571010113","headers":{"user-agent":"undici","x-request-id":"9a0ab1f0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://doi.org/10.1002/jlac.18571010113"},"query":{"format":"mediawiki","search":"http://doi.org/10.1002/jlac.18571010113"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://chemistry-europe.onlinelibrary.wiley.com/doi/10.1002/jlac.18571010113","time":"2025-06-14T15:16:53.590Z","v":0}
      ✔ doi spage and epage fields in crossRef coins data (1381ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9addb960-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fmic.microbiologyresearch.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.082289-0","headers":{"user-agent":"undici","x-request-id":"9addb960-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://mic.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0"},"query":{"format":"mediawiki","search":"http://mic.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0","time":"2025-06-14T15:16:55.642Z","v":0}
      ✔ successfully uses highwire press metadata (2896ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9c97c570-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fuknowledge.uky.edu%2Fupk_african_history%2F1%2F","headers":{"user-agent":"undici","x-request-id":"9c97c570-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://uknowledge.uky.edu/upk_african_history/1/"},"query":{"format":"mediawiki","search":"http://uknowledge.uky.edu/upk_african_history/1/"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://uknowledge.uky.edu/upk_african_history/1/","time":"2025-06-14T15:16:57.722Z","v":0}
      ✔ successfully uses bepress press metadata alone (701ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"9d029530-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"undici","x-request-id":"9d029530-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"query":{"format":"mediawiki","search":"http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"remoteAddress":"127.0.0.1","remotePort":47240},"levelPath":"warn/CitoidService","time":"2025-06-14T15:16:58.005Z","v":0}
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9d029530-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"undici","x-request-id":"9d029530-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"query":{"format":"mediawiki","search":"http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.26954-0","time":"2025-06-14T15:16:58.559Z","v":0}
      ✔ Dead url with correct doi (2913ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9ebf6060-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"undici","x-request-id":"9ebf6060-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/bibtex/http://www.example.com"},"query":{"format":"bibtex","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for http://www.example.com","time":"2025-06-14T15:17:00.919Z","v":0}
      ✔ Get error for bibtex export
{"name":"citoid","hostname":"f4189b33874a","pid":456,"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":"9ec4dea0-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"undici","x-request-id":"9ec4dea0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/www.jstor.org/discover/10.2307/3677029"},"query":{"format":"mediawiki","search":"www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":47240},"levelPath":"warn/CitoidService","time":"2025-06-14T15:17:01.010Z","v":0}
      ✔ requires cookie handling (222ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9ee70ca0-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.1038%2Fscientificamerican0200-90","headers":{"user-agent":"undici","x-request-id":"9ee70ca0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.1038/scientificamerican0200-90"},"query":{"format":"mediawiki","search":"10.1038/scientificamerican0200-90"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://www.scientificamerican.com/article/uprooting-the-tree-of-life/","time":"2025-06-14T15:17:01.751Z","v":0}
      ✔ DOI pointing to resource that can't be scraped - uses crossRef (726ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"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":"9f55fb10-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"undici","x-request-id":"9f55fb10-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://dx.DOI.org/10.2307/3677029"},"query":{"format":"mediawiki","search":"http://dx.DOI.org/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":47240},"levelPath":"warn/CitoidService","time":"2025-06-14T15:17:02.022Z","v":0}
      ✔ dx.DOI link - uses crossRef (334ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"9f894010-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.14344%2FIOC.ML.4.4","headers":{"user-agent":"undici","x-request-id":"9f894010-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.14344/IOC.ML.4.4"},"query":{"format":"mediawiki","search":"10.14344/IOC.ML.4.4"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://www.worldbirdnames.org/ioc-lists/crossref/","time":"2025-06-14T15:17:06.096Z","v":0}
      ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (7314ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"a3e52020-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.1016%2FS0305-0491(98)00022-4","headers":{"user-agent":"undici","x-request-id":"a3e52020-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.1016/S0305-0491(98)00022-4"},"query":{"format":"mediawiki","search":"10.1016/S0305-0491(98)00022-4"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://linkinghub.elsevier.com/retrieve/pii/S0305049198000224","time":"2025-06-14T15:17:09.750Z","v":0}
      ✔ gets date from crossRef REST API (328ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"a41753b0-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.1017%2Fisbn-9780511132971.eh1-7","headers":{"user-agent":"undici","x-request-id":"a41753b0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.1017/isbn-9780511132971.eh1-7"},"query":{"format":"mediawiki","search":"10.1017/isbn-9780511132971.eh1-7"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://hsus.cambridge.org/HSUSWeb/jsp/Intermediate.jsp?id=Eh1-7","time":"2025-06-14T15:17:11.618Z","v":0}
      ✔ gets editors from crossRef REST API for book-tract type (2013ms)
      ✔ gets proceedings from crossRef REST API (186ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"a5672c40-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fwww.google.com","headers":{"user-agent":"undici","x-request-id":"a5672c40-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://www.google.com"},"query":{"format":"mediawiki","search":"http://www.google.com"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for http://www.google.com","time":"2025-06-14T15:17:12.107Z","v":0}
      ✔ uses original url (139ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"a57c3ae0-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fblog.woorank.com%2F2013%2F04%2Fdublin-core-metadata-for-seo-and-usability%2F","headers":{"user-agent":"undici","x-request-id":"a57c3ae0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://blog.woorank.com/2013/04/dublin-core-metadata-for-seo-and-usability/"},"query":{"format":"mediawiki","search":"http://blog.woorank.com/2013/04/dublin-core-metadata-for-seo-and-usability/"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://www.woorank.com/en/blog/dublin-core-metadata-for-seo-and-usability","time":"2025-06-14T15:17:12.390Z","v":0}
      ✔ websiteTitle but no publicationTitle (266ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"a5a4d180-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fapps.who.int%2Firis%2Fhandle%2F10665%2F70863","headers":{"user-agent":"undici","x-request-id":"a5a4d180-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://apps.who.int/iris/handle/10665/70863"},"query":{"format":"mediawiki","search":"http://apps.who.int/iris/handle/10665/70863"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://iris.who.int/handle/10665/70863","time":"2025-06-14T15:17:13.966Z","v":0}
      ✔ dublinCore data with multiple identifiers in array (1745ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"a6af3ca0-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.1017%2Fs0305004100013554","headers":{"user-agent":"undici","x-request-id":"a6af3ca0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.1017/s0305004100013554"},"query":{"format":"mediawiki","search":"10.1017/s0305004100013554"},"remoteAddress":"127.0.0.1","remotePort":47240},"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":"2025-06-14T15:17:15.547Z","v":0}
      ✔ has page range in direct scrape (2878ms)
      ✔ Only PMCID but no PMID or DOI; does not scrape (42ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/zotero","request_id":"a86cf230-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.1029%2F94WR00436","headers":{"user-agent":"undici","x-request-id":"a86cf230-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.1029/94WR00436"},"query":{"format":"mediawiki","search":"10.1029/94WR00436"},"remoteAddress":"127.0.0.1","remotePort":47240},"msg":"No Zot response available for https://agupubs.onlinelibrary.wiley.com/doi/10.1029/94WR00436?cookieSet=1","time":"2025-06-14T15:17:17.799Z","v":0}
      ✔ DOI with redirect - Wiley (763ms)
    disabled in conf
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:17:17.906Z","v":0}
      ✔ PMID not in doi id converter api (46ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"levelPath":"warn/CitoidService","request_id":"a8ea5f90-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"undici","x-request-id":"a8ea5f90-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/10.26656/fr.2017.4(s1).s12"},"query":{"format":"mediawiki","search":"10.26656/fr.2017.4(s1).s12"},"remoteAddress":"127.0.0.1","remotePort":37158},"msg":"requestFromURL failed with 415 error","time":"2025-06-14T15:17:18.120Z","v":0}
      ✔ doi that points to pdf (221ms)
      ✔ PMCID present in doi id converter api (634ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"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":"a96cfd10-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"undici","x-request-id":"a96cfd10-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://www.jstor.org/discover/10.2307/3677029"},"query":{"format":"mediawiki","search":"http://www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":37158},"levelPath":"warn/CitoidService","time":"2025-06-14T15:17:18.873Z","v":0}
      ✔ JSTOR page with tabs in natively scraped title (197ms)
      - requires JS to be enabled
      ✔ doi spage and epage fields in crossRef coins data (1653ms)
      ✔ successfully uses highwire press metadata (1840ms)
      ✔ successfully uses bepress press metadata alone (752ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"ac12efc0-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"undici","x-request-id":"ac12efc0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"query":{"format":"mediawiki","search":"http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"remoteAddress":"127.0.0.1","remotePort":37158},"levelPath":"warn/CitoidService","time":"2025-06-14T15:17:23.265Z","v":0}
      ✔ Dead url with doi (2300ms)
      ✔ Get error for bibtex export (39ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"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":"ad77fe00-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"undici","x-request-id":"ad77fe00-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/www.jstor.org/discover/10.2307/3677029"},"query":{"format":"mediawiki","search":"www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":37158},"levelPath":"warn/CitoidService","time":"2025-06-14T15:17:25.696Z","v":0}
      ✔ requires cookie handling (231ms)
      ✔ DOI pointing to resource that can't be scraped - uses crossRef (200ms)
{"name":"citoid","hostname":"f4189b33874a","pid":456,"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":"adba1010-4932-11f0-929f-b3a8ce581e8e","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"undici","x-request-id":"adba1010-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/http://dx.DOI.org/10.2307/3677029"},"query":{"format":"mediawiki","search":"http://dx.DOI.org/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":37158},"levelPath":"warn/CitoidService","time":"2025-06-14T15:17:26.144Z","v":0}
      ✔ dx.DOI link - uses crossRef (232ms)
      ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (2149ms)
      ✔ gets date from crossRef REST API (219ms)
      ✔ gets editors from crossRef REST API for book-tract type (2414ms)
      ✔ gets proceedings from crossRef REST API (112ms)
      ✔ No PMID or DOI; does not scrape (44ms)
      ✔ DOI with redirect - Wiley (1768ms)

  Freetext or ambiguous search, classified as "any" input type, i.e. title or citation
    Default config
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:17:32.979Z","v":0}
      ✔ spaces in url missing http:// and www (423ms)
      ✔ json in search (547ms)
      ✔ javascript in search (550ms)
      ✔ localhost:1970 (339ms)
      ✔ Open search for Schrodinger (833ms)
      ✔ Open search containing <> works; but gets wrong results from crossRef (1124ms)
      ✔ Open search with www but no protocol (814ms)
      - Open search with doi
{"name":"citoid","hostname":"f4189b33874a","pid":456,"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/dataset.xhtml?persistentId=hdl:1902.1/UOVMCPSWOL"},"request_id":"b4a378d0-4932-11f0-929f-b3a8ce581e8e","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":"undici","x-request-id":"b4a378d0-4932-11f0-929f-b3a8ce581e8e"},"method":"GET","params":{"0":"/mediawiki/Frederico Girosi; Gary King, 2006, ‘Cause of Death Data’, http://hdl.handle.net/1902.1/UOVMCPSWOL UNF:3:9JU+SmVyHgwRhAKclQ85Cg== IQSS Dataverse Network [Distributor] V3 [Version]."},"query":{"format":"mediawiki","search":"Frederico Girosi; Gary King, 2006, ‘Cause of Death Data’, http://hdl.handle.net/1902.1/UOVMCPSWOL UNF:3:9JU+SmVyHgwRhAKclQ85Cg== IQSS Dataverse Network [Distributor] V3 [Version]."},"remoteAddress":"127.0.0.1","remotePort":43982},"levelPath":"warn/CitoidService","time":"2025-06-14T15:17:38.300Z","v":0}
      ✔ Open search with url (1782ms)
      ✔ Open search with single term (1513ms)
      ✔ Harry Potter (1013ms)

  Tests using a very short timeout - all use crossRef - zotero disabled
{"name":"citoid","hostname":"f4189b33874a","pid":456,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-06-14T15:17:41.942Z","v":0}
    DOI  
      ✔ DOI- missing PMCID (41ms)
      ✔ direct DOI
      ✔ DOI with redirect (38ms)
      - non-dx.DOI link with DOI pointing to resource in zotero with no DOI
      ✔ DOI pointing to resource in zotero with no DOI (46ms)
      - DOI.org link pointing to resource in zotero with no DOI
      ✔ DOI which requires cookie to properly follow redirect to Zotero (74ms)
      ✔ doi pointing to conferencePaper
      - doi in url with query parameters
      ✔ doi with US style date (66ms)


  63 passing (56s)
  9 pending


--- end ---
{"1105443": {"source": 1105443, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=1.0.0 <=1.1.11"}, "1105444": {"source": 1105444, "name": "brace-expansion", "dependency": "brace-expansion", "title": "brace-expansion Regular Expression Denial of Service vulnerability", "url": "https://github.com/advisories/GHSA-v6h2-p8h4-qcjw", "severity": "low", "cwe": ["CWE-400"], "cvss": {"score": 3.1, "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"}, "range": ">=2.0.0 <=2.0.1"}}
Upgrading n:brace-expansion from 1.1.11, 2.0.1 -> 1.1.12, 2.0.2
$ package-lock-lint package-lock.json
--- stdout ---
Checking package-lock.json

--- end ---
build: Updating brace-expansion to 1.1.12, 2.0.2

* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw

$ git add .
--- stdout ---

--- end ---
$ git commit -F /tmp/tmpvo1ytu5_
--- stdout ---
[master 1e547f9] build: Updating brace-expansion to 1.1.12, 2.0.2
 1 file changed, 15 insertions(+), 18 deletions(-)

--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From 1e547f9a81d5d90b5f3ff9049d1fe12e52f8f15e Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Sat, 14 Jun 2025 15:17:42 +0000
Subject: [PATCH] build: Updating brace-expansion to 1.1.12, 2.0.2

* https://github.com/advisories/GHSA-v6h2-p8h4-qcjw

Change-Id: Ib3d546d2e48c73d58fb1e51e85d92d6789119fdf
---
 package-lock.json | 33 +++++++++++++++------------------
 1 file changed, 15 insertions(+), 18 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index 5c289e9..6f5cd95 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -947,11 +947,10 @@
 			}
 		},
 		"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
-			"license": "MIT",
 			"dependencies": {
 				"balanced-match": "^1.0.0"
 			}
@@ -1392,9 +1391,9 @@
 			"integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="
 		},
 		"node_modules/brace-expansion": {
-			"version": "1.1.11",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
-			"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+			"version": "1.1.12",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
+			"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
 			"devOptional": true,
 			"dependencies": {
 				"balanced-match": "^1.0.0",
@@ -2819,11 +2818,10 @@
 			}
 		},
 		"node_modules/eslint-plugin-n/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
-			"license": "MIT",
 			"dependencies": {
 				"balanced-match": "^1.0.0"
 			}
@@ -3776,11 +3774,10 @@
 			}
 		},
 		"node_modules/glob/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
-			"license": "MIT",
 			"dependencies": {
 				"balanced-match": "^1.0.0"
 			}
@@ -5098,9 +5095,9 @@
 			"dev": true
 		},
 		"node_modules/mocha/node_modules/brace-expansion": {
-			"version": "2.0.1",
-			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
-			"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
+			"version": "2.0.2",
+			"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
+			"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
 			"dev": true,
 			"dependencies": {
 				"balanced-match": "^1.0.0"
-- 
2.39.5


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