This run took 108 seconds.
From c52455e520ed2896cc1b6dec86159811bf7e469c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 29 Jan 2026 16:15:19 +0000
Subject: [PATCH] [DNM] there are no updates
Change-Id: Ib2d155b33f3be9774a8928e5be79ac6c95b6fd69
---
package-lock.json | 47 +++++++++++++++++++++++++----------------------
1 file changed, 25 insertions(+), 22 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index d4106ba..fece1fd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -502,21 +502,22 @@
"dev": true
},
"node_modules/@eslint/js": {
- "version": "8.57.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
- "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
+ "version": "8.57.1",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",
+ "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
"node_modules/@humanwhocodes/config-array": {
- "version": "0.11.14",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
- "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
+ "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
+ "deprecated": "Use @eslint/config-array instead",
"dev": true,
"dependencies": {
- "@humanwhocodes/object-schema": "^2.0.2",
+ "@humanwhocodes/object-schema": "^2.0.3",
"debug": "^4.3.1",
"minimatch": "^3.0.5"
},
@@ -525,12 +526,12 @@
}
},
"node_modules/@humanwhocodes/config-array/node_modules/debug": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
"dev": true,
"dependencies": {
- "ms": "2.1.2"
+ "ms": "^2.1.3"
},
"engines": {
"node": ">=6.0"
@@ -542,9 +543,9 @@
}
},
"node_modules/@humanwhocodes/config-array/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"dev": true
},
"node_modules/@humanwhocodes/module-importer": {
@@ -561,9 +562,10 @@
}
},
"node_modules/@humanwhocodes/object-schema": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz",
- "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
+ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
+ "deprecated": "Use @eslint/object-schema instead",
"dev": true
},
"node_modules/@isaacs/cliui": {
@@ -2733,16 +2735,17 @@
}
},
"node_modules/eslint": {
- "version": "8.57.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
- "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
+ "version": "8.57.1",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
+ "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
+ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
"@eslint/eslintrc": "^2.1.4",
- "@eslint/js": "8.57.0",
- "@humanwhocodes/config-array": "^0.11.14",
+ "@eslint/js": "8.57.1",
+ "@humanwhocodes/config-array": "^0.13.0",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
"@ungap/structured-clone": "^1.2.0",
--
2.47.3
$ date
--- stdout ---
Thu Jan 29 16:13:34 UTC 2026
--- end ---
$ git clone file:///srv/git/mediawiki-services-citoid.git /src/repo --depth=1 -b master
--- stderr ---
Cloning into '/src/repo'...
--- stdout ---
--- end ---
$ git config user.name libraryupgrader
--- stdout ---
--- end ---
$ git config user.email tools.libraryupgrader@tools.wmflabs.org
--- stdout ---
--- end ---
$ git submodule update --init
--- stdout ---
--- end ---
$ grr init
--- stdout ---
Installed commit-msg hook.
--- end ---
$ git show-ref refs/heads/master
--- stdout ---
5d9c9d7485e5f347ce00e4f4ffb859fa0fe48cf1 refs/heads/master
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"eslint": {
"name": "eslint",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1112686,
"name": "eslint",
"dependency": "eslint",
"title": "eslint has a Stack Overflow when serializing objects with circular references",
"url": "https://github.com/advisories/GHSA-p5wg-g6qr-c7cg",
"severity": "moderate",
"cwe": [
"CWE-674"
],
"cvss": {
"score": 5.5,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
"range": "<9.26.0"
}
],
"effects": [
"eslint-config-wikimedia"
],
"range": "<9.26.0",
"nodes": [
"node_modules/eslint"
],
"fixAvailable": {
"name": "eslint-config-wikimedia",
"version": "0.8.1",
"isSemVerMajor": true
}
},
"eslint-config-wikimedia": {
"name": "eslint-config-wikimedia",
"severity": "moderate",
"isDirect": true,
"via": [
"eslint"
],
"effects": [],
"range": ">=0.9.0",
"nodes": [
"node_modules/eslint-config-wikimedia"
],
"fixAvailable": {
"name": "eslint-config-wikimedia",
"version": "0.8.1",
"isSemVerMajor": 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": "2.9.0",
"isSemVerMajor": true
}
},
"ms": {
"name": "ms",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1109573,
"name": "ms",
"dependency": "ms",
"title": "Vercel ms Inefficient Regular Expression Complexity vulnerability",
"url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<2.0.0"
}
],
"effects": [
"wikimedia-kad-fork"
],
"range": "<2.0.0",
"nodes": [
"node_modules/wikimedia-kad-fork/node_modules/ms"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"service-runner": {
"name": "service-runner",
"severity": "high",
"isDirect": true,
"via": [
"limitation",
"tar"
],
"effects": [],
"range": ">=3.0.0",
"nodes": [
"node_modules/service-runner"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"swagger-ui-dist": {
"name": "swagger-ui-dist",
"severity": "moderate",
"isDirect": true,
"via": [
{
"source": 1088759,
"name": "swagger-ui-dist",
"dependency": "swagger-ui-dist",
"title": "Spoofing attack in swagger-ui-dist",
"url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x",
"severity": "moderate",
"cwe": [
"CWE-1021"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<4.1.3"
},
{
"source": 1092160,
"name": "swagger-ui-dist",
"dependency": "swagger-ui-dist",
"title": "Server side request forgery in SwaggerUI",
"url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<4.1.3"
}
],
"effects": [],
"range": "<=4.1.2",
"nodes": [
"node_modules/swagger-ui-dist"
],
"fixAvailable": {
"name": "swagger-ui-dist",
"version": "5.31.0",
"isSemVerMajor": true
}
},
"tar": {
"name": "tar",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1112255,
"name": "tar",
"dependency": "tar",
"title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization",
"url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97",
"severity": "high",
"cwe": [
"CWE-22"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<=7.5.2"
},
{
"source": 1112329,
"name": "tar",
"dependency": "tar",
"title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS",
"url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w",
"severity": "high",
"cwe": [
"CWE-176"
],
"cvss": {
"score": 8.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"
},
"range": "<=7.5.3"
},
{
"source": 1112659,
"name": "tar",
"dependency": "tar",
"title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal",
"url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v",
"severity": "high",
"cwe": [
"CWE-22",
"CWE-59"
],
"cvss": {
"score": 8.2,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
},
"range": "<7.5.7"
}
],
"effects": [
"service-runner"
],
"range": "<=7.5.6",
"nodes": [
"node_modules/tar"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"wikimedia-kad-fork": {
"name": "wikimedia-kad-fork",
"severity": "moderate",
"isDirect": false,
"via": [
"ms"
],
"effects": [
"limitation"
],
"range": "*",
"nodes": [
"node_modules/wikimedia-kad-fork"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 6,
"high": 3,
"critical": 0,
"total": 9
},
"dependencies": {
"prod": 219,
"dev": 437,
"optional": 15,
"peer": 1,
"peerOptional": 0,
"total": 669
}
}
}
--- end ---
$ /usr/bin/npm audit --json
--- stdout ---
{
"auditReportVersion": 2,
"vulnerabilities": {
"eslint": {
"name": "eslint",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1112686,
"name": "eslint",
"dependency": "eslint",
"title": "eslint has a Stack Overflow when serializing objects with circular references",
"url": "https://github.com/advisories/GHSA-p5wg-g6qr-c7cg",
"severity": "moderate",
"cwe": [
"CWE-674"
],
"cvss": {
"score": 5.5,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
"range": "<9.26.0"
}
],
"effects": [
"eslint-config-wikimedia"
],
"range": "<9.26.0",
"nodes": [
"node_modules/eslint"
],
"fixAvailable": {
"name": "eslint-config-wikimedia",
"version": "0.8.1",
"isSemVerMajor": true
}
},
"eslint-config-wikimedia": {
"name": "eslint-config-wikimedia",
"severity": "moderate",
"isDirect": true,
"via": [
"eslint"
],
"effects": [],
"range": ">=0.9.0",
"nodes": [
"node_modules/eslint-config-wikimedia"
],
"fixAvailable": {
"name": "eslint-config-wikimedia",
"version": "0.8.1",
"isSemVerMajor": 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": "2.9.0",
"isSemVerMajor": true
}
},
"ms": {
"name": "ms",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1109573,
"name": "ms",
"dependency": "ms",
"title": "Vercel ms Inefficient Regular Expression Complexity vulnerability",
"url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<2.0.0"
}
],
"effects": [
"wikimedia-kad-fork"
],
"range": "<2.0.0",
"nodes": [
"node_modules/wikimedia-kad-fork/node_modules/ms"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"service-runner": {
"name": "service-runner",
"severity": "high",
"isDirect": true,
"via": [
"limitation",
"tar"
],
"effects": [],
"range": ">=3.0.0",
"nodes": [
"node_modules/service-runner"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"swagger-ui-dist": {
"name": "swagger-ui-dist",
"severity": "moderate",
"isDirect": true,
"via": [
{
"source": 1088759,
"name": "swagger-ui-dist",
"dependency": "swagger-ui-dist",
"title": "Spoofing attack in swagger-ui-dist",
"url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x",
"severity": "moderate",
"cwe": [
"CWE-1021"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<4.1.3"
},
{
"source": 1092160,
"name": "swagger-ui-dist",
"dependency": "swagger-ui-dist",
"title": "Server side request forgery in SwaggerUI",
"url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<4.1.3"
}
],
"effects": [],
"range": "<=4.1.2",
"nodes": [
"node_modules/swagger-ui-dist"
],
"fixAvailable": {
"name": "swagger-ui-dist",
"version": "5.31.0",
"isSemVerMajor": true
}
},
"tar": {
"name": "tar",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1112255,
"name": "tar",
"dependency": "tar",
"title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization",
"url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97",
"severity": "high",
"cwe": [
"CWE-22"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<=7.5.2"
},
{
"source": 1112329,
"name": "tar",
"dependency": "tar",
"title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS",
"url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w",
"severity": "high",
"cwe": [
"CWE-176"
],
"cvss": {
"score": 8.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"
},
"range": "<=7.5.3"
},
{
"source": 1112659,
"name": "tar",
"dependency": "tar",
"title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal",
"url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v",
"severity": "high",
"cwe": [
"CWE-22",
"CWE-59"
],
"cvss": {
"score": 8.2,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
},
"range": "<7.5.7"
}
],
"effects": [
"service-runner"
],
"range": "<=7.5.6",
"nodes": [
"node_modules/tar"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"wikimedia-kad-fork": {
"name": "wikimedia-kad-fork",
"severity": "moderate",
"isDirect": false,
"via": [
"ms"
],
"effects": [
"limitation"
],
"range": "*",
"nodes": [
"node_modules/wikimedia-kad-fork"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 6,
"high": 3,
"critical": 0,
"total": 9
},
"dependencies": {
"prod": 219,
"dev": 437,
"optional": 15,
"peer": 1,
"peerOptional": 0,
"total": 669
}
}
}
--- end ---
Attempting to npm audit fix
$ /usr/bin/npm audit fix --dry-run --only=dev --json
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
--- stdout ---
{
"added": 669,
"removed": 0,
"changed": 0,
"audited": 670,
"funding": 131,
"audit": {
"auditReportVersion": 2,
"vulnerabilities": {
"eslint": {
"name": "eslint",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1112686,
"name": "eslint",
"dependency": "eslint",
"title": "eslint has a Stack Overflow when serializing objects with circular references",
"url": "https://github.com/advisories/GHSA-p5wg-g6qr-c7cg",
"severity": "moderate",
"cwe": [
"CWE-674"
],
"cvss": {
"score": 5.5,
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
},
"range": "<9.26.0"
}
],
"effects": [
"eslint-config-wikimedia"
],
"range": "<9.26.0",
"nodes": [
"",
"node_modules/eslint"
],
"fixAvailable": {
"name": "eslint-config-wikimedia",
"version": "0.8.1",
"isSemVerMajor": true
}
},
"eslint-config-wikimedia": {
"name": "eslint-config-wikimedia",
"severity": "moderate",
"isDirect": true,
"via": [
"eslint"
],
"effects": [],
"range": ">=0.9.0",
"nodes": [
"node_modules/eslint-config-wikimedia"
],
"fixAvailable": {
"name": "eslint-config-wikimedia",
"version": "0.8.1",
"isSemVerMajor": 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": "2.9.0",
"isSemVerMajor": true
}
},
"ms": {
"name": "ms",
"severity": "moderate",
"isDirect": false,
"via": [
{
"source": 1109573,
"name": "ms",
"dependency": "ms",
"title": "Vercel ms Inefficient Regular Expression Complexity vulnerability",
"url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f",
"severity": "moderate",
"cwe": [
"CWE-1333"
],
"cvss": {
"score": 5.3,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
},
"range": "<2.0.0"
}
],
"effects": [
"wikimedia-kad-fork"
],
"range": "<2.0.0",
"nodes": [
"node_modules/wikimedia-kad-fork/node_modules/ms"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"service-runner": {
"name": "service-runner",
"severity": "high",
"isDirect": true,
"via": [
"limitation",
"tar"
],
"effects": [],
"range": ">=3.0.0",
"nodes": [
"node_modules/service-runner"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"swagger-ui-dist": {
"name": "swagger-ui-dist",
"severity": "moderate",
"isDirect": true,
"via": [
{
"source": 1088759,
"name": "swagger-ui-dist",
"dependency": "swagger-ui-dist",
"title": "Spoofing attack in swagger-ui-dist",
"url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x",
"severity": "moderate",
"cwe": [
"CWE-1021"
],
"cvss": {
"score": 6.1,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
},
"range": "<4.1.3"
},
{
"source": 1092160,
"name": "swagger-ui-dist",
"dependency": "swagger-ui-dist",
"title": "Server side request forgery in SwaggerUI",
"url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx",
"severity": "moderate",
"cwe": [
"CWE-918"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<4.1.3"
}
],
"effects": [],
"range": "<=4.1.2",
"nodes": [
"node_modules/swagger-ui-dist"
],
"fixAvailable": {
"name": "swagger-ui-dist",
"version": "5.31.0",
"isSemVerMajor": true
}
},
"tar": {
"name": "tar",
"severity": "high",
"isDirect": false,
"via": [
{
"source": 1112255,
"name": "tar",
"dependency": "tar",
"title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization",
"url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97",
"severity": "high",
"cwe": [
"CWE-22"
],
"cvss": {
"score": 0,
"vectorString": null
},
"range": "<=7.5.2"
},
{
"source": 1112329,
"name": "tar",
"dependency": "tar",
"title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS",
"url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w",
"severity": "high",
"cwe": [
"CWE-176"
],
"cvss": {
"score": 8.8,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"
},
"range": "<=7.5.3"
},
{
"source": 1112659,
"name": "tar",
"dependency": "tar",
"title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal",
"url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v",
"severity": "high",
"cwe": [
"CWE-22",
"CWE-59"
],
"cvss": {
"score": 8.2,
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"
},
"range": "<7.5.7"
}
],
"effects": [
"service-runner"
],
"range": "<=7.5.6",
"nodes": [
"node_modules/tar"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
},
"wikimedia-kad-fork": {
"name": "wikimedia-kad-fork",
"severity": "moderate",
"isDirect": false,
"via": [
"ms"
],
"effects": [
"limitation"
],
"range": "*",
"nodes": [
"node_modules/wikimedia-kad-fork"
],
"fixAvailable": {
"name": "service-runner",
"version": "2.9.0",
"isSemVerMajor": true
}
}
},
"metadata": {
"vulnerabilities": {
"info": 0,
"low": 0,
"moderate": 6,
"high": 3,
"critical": 0,
"total": 9
},
"dependencies": {
"prod": 219,
"dev": 437,
"optional": 15,
"peer": 1,
"peerOptional": 0,
"total": 669
}
}
}
}
--- end ---
{"added": 669, "removed": 0, "changed": 0, "audited": 670, "funding": 131, "audit": {"auditReportVersion": 2, "vulnerabilities": {"eslint": {"name": "eslint", "severity": "moderate", "isDirect": false, "via": [{"source": 1112686, "name": "eslint", "dependency": "eslint", "title": "eslint has a Stack Overflow when serializing objects with circular references", "url": "https://github.com/advisories/GHSA-p5wg-g6qr-c7cg", "severity": "moderate", "cwe": ["CWE-674"], "cvss": {"score": 5.5, "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "range": "<9.26.0"}], "effects": ["eslint-config-wikimedia"], "range": "<9.26.0", "nodes": ["", "node_modules/eslint"], "fixAvailable": {"name": "eslint-config-wikimedia", "version": "0.8.1", "isSemVerMajor": true}}, "eslint-config-wikimedia": {"name": "eslint-config-wikimedia", "severity": "moderate", "isDirect": true, "via": ["eslint"], "effects": [], "range": ">=0.9.0", "nodes": ["node_modules/eslint-config-wikimedia"], "fixAvailable": {"name": "eslint-config-wikimedia", "version": "0.8.1", "isSemVerMajor": 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": "2.9.0", "isSemVerMajor": true}}, "ms": {"name": "ms", "severity": "moderate", "isDirect": false, "via": [{"source": 1109573, "name": "ms", "dependency": "ms", "title": "Vercel ms Inefficient Regular Expression Complexity vulnerability", "url": "https://github.com/advisories/GHSA-w9mr-4mfr-499f", "severity": "moderate", "cwe": ["CWE-1333"], "cvss": {"score": 5.3, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}, "range": "<2.0.0"}], "effects": ["wikimedia-kad-fork"], "range": "<2.0.0", "nodes": ["node_modules/wikimedia-kad-fork/node_modules/ms"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}, "service-runner": {"name": "service-runner", "severity": "high", "isDirect": true, "via": ["limitation", "tar"], "effects": [], "range": ">=3.0.0", "nodes": ["node_modules/service-runner"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}, "swagger-ui-dist": {"name": "swagger-ui-dist", "severity": "moderate", "isDirect": true, "via": [{"source": 1088759, "name": "swagger-ui-dist", "dependency": "swagger-ui-dist", "title": "Spoofing attack in swagger-ui-dist", "url": "https://github.com/advisories/GHSA-6c9x-mj3g-h47x", "severity": "moderate", "cwe": ["CWE-1021"], "cvss": {"score": 6.1, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}, "range": "<4.1.3"}, {"source": 1092160, "name": "swagger-ui-dist", "dependency": "swagger-ui-dist", "title": "Server side request forgery in SwaggerUI", "url": "https://github.com/advisories/GHSA-qrmm-w75w-3wpx", "severity": "moderate", "cwe": ["CWE-918"], "cvss": {"score": 0, "vectorString": null}, "range": "<4.1.3"}], "effects": [], "range": "<=4.1.2", "nodes": ["node_modules/swagger-ui-dist"], "fixAvailable": {"name": "swagger-ui-dist", "version": "5.31.0", "isSemVerMajor": true}}, "tar": {"name": "tar", "severity": "high", "isDirect": false, "via": [{"source": 1112255, "name": "tar", "dependency": "tar", "title": "node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization", "url": "https://github.com/advisories/GHSA-8qq5-rm4j-mr97", "severity": "high", "cwe": ["CWE-22"], "cvss": {"score": 0, "vectorString": null}, "range": "<=7.5.2"}, {"source": 1112329, "name": "tar", "dependency": "tar", "title": "Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS", "url": "https://github.com/advisories/GHSA-r6q2-hw4h-h46w", "severity": "high", "cwe": ["CWE-176"], "cvss": {"score": 8.8, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:H/A:L"}, "range": "<=7.5.3"}, {"source": 1112659, "name": "tar", "dependency": "tar", "title": "node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal", "url": "https://github.com/advisories/GHSA-34x7-hfp2-rc4v", "severity": "high", "cwe": ["CWE-22", "CWE-59"], "cvss": {"score": 8.2, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N"}, "range": "<7.5.7"}], "effects": ["service-runner"], "range": "<=7.5.6", "nodes": ["node_modules/tar"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}, "wikimedia-kad-fork": {"name": "wikimedia-kad-fork", "severity": "moderate", "isDirect": false, "via": ["ms"], "effects": ["limitation"], "range": "*", "nodes": ["node_modules/wikimedia-kad-fork"], "fixAvailable": {"name": "service-runner", "version": "2.9.0", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 6, "high": 3, "critical": 0, "total": 9}, "dependencies": {"prod": 219, "dev": 437, "optional": 15, "peer": 1, "peerOptional": 0, "total": 669}}}}
$ /usr/bin/npm audit fix --only=dev
--- stderr ---
npm WARN invalid config only="dev" set in command line options
npm WARN invalid config Must be one of: null, prod, production
npm WARN deprecated kad-fs@0.0.4: This package is no longer maintained.
npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated kad-memstore@0.0.1: This package is no longer maintained.
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
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 eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
--- stdout ---
added 665 packages, and audited 666 packages in 9s
131 packages are looking for funding
run `npm fund` for details
# npm audit report
eslint <9.26.0
Severity: moderate
eslint has a Stack Overflow when serializing objects with circular references - https://github.com/advisories/GHSA-p5wg-g6qr-c7cg
fix available via `npm audit fix --force`
Will install eslint-config-wikimedia@0.8.1, which is a breaking change
node_modules/eslint
eslint-config-wikimedia >=0.9.0
Depends on vulnerable versions of eslint
node_modules/eslint-config-wikimedia
ip *
Severity: high
ip SSRF improper categorization in isPublic - https://github.com/advisories/GHSA-2p57-rm9w-gvfp
No fix available
node_modules/ip
ms <2.0.0
Severity: moderate
Vercel ms Inefficient Regular Expression Complexity vulnerability - https://github.com/advisories/GHSA-w9mr-4mfr-499f
fix available via `npm audit fix --force`
Will install service-runner@2.9.0, which is a breaking change
node_modules/wikimedia-kad-fork/node_modules/ms
wikimedia-kad-fork *
Depends on vulnerable versions of ms
node_modules/wikimedia-kad-fork
limitation >=0.2.3
Depends on vulnerable versions of wikimedia-kad-fork
node_modules/limitation
service-runner >=3.0.0
Depends on vulnerable versions of limitation
Depends on vulnerable versions of tar
node_modules/service-runner
swagger-ui-dist <=4.1.2
Severity: moderate
Spoofing attack in swagger-ui-dist - https://github.com/advisories/GHSA-6c9x-mj3g-h47x
Server side request forgery in SwaggerUI - https://github.com/advisories/GHSA-qrmm-w75w-3wpx
fix available via `npm audit fix --force`
Will install swagger-ui-dist@5.31.0, which is a breaking change
node_modules/swagger-ui-dist
tar <=7.5.6
Severity: high
node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization - https://github.com/advisories/GHSA-8qq5-rm4j-mr97
Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS - https://github.com/advisories/GHSA-r6q2-hw4h-h46w
node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal - https://github.com/advisories/GHSA-34x7-hfp2-rc4v
fix available via `npm audit fix --force`
Will install service-runner@2.9.0, which is a breaking change
node_modules/tar
9 vulnerabilities (6 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 deprecated kad-fs@0.0.4: This package is no longer maintained.
npm WARN deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm WARN deprecated kad-memstore@0.0.1: This package is no longer maintained.
npm WARN deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
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 eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
--- stdout ---
added 665 packages, and audited 666 packages in 8s
131 packages are looking for funding
run `npm fund` for details
9 vulnerabilities (6 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
--- stderr ---
[baseline-browser-mapping] The data in this module is over two months old. To ensure accurate Baseline data, please update: `npm i baseline-browser-mapping@latest -D`
--- stdout ---
> citoid@2.0.0 test
> npm run lint && mocha ./test/features/unit/* && mocha ./test/features/errors/* && mocha ./test/features/app/* && mocha --exit ./test/features/scraping/*
> citoid@2.0.0 lint
> eslint --max-warnings 0 --cache .
cachedTypes
zotero methods
✔ returns false if no base types exist
✔ gets base types - no creators
✔ gets base types - with creators
creator types methods
✔ gets creator type ids
✔ returns empty list if no create type ids exist
✔ gets primary creator id from type
✔ gets creator name from id
✔ gets primary creator id from name
✔ determines if creatorType valid for type- true
✔ determines if creatorType valid for type- false
item fields methods
✔ determines if id is valid for type- false
✔ determines if id is valid for type- true
✔ determines if creator field is valid for type- true
✔ determines if creator field is valid for type- false
✔ get field id from type and base
✔ get base id from type and field
✔ get item type fields
✔ gets field name from id
✔ gets id from field name
lib/Citation.js
Constructor:
✔ creates citation with initial ID
✔ creates citation with numeric id
✔ throws error for non-string idType
✔ throws error for invalid idType
✔ ignores idValue and creates empty citation when idType is null
Setters:
✔ converts number to string
✔ keeps string values as strings
✔ handles empty string
Special values
✔ keeps null as null
✔ changes undefined to null
✔ converts true to empty string
✔ converts false to null
lib/Exporter.js functions:
validation functions:
fixURL:
✔ discards url with no host
✔ adds protocol to url when missing
fixWebsiteTitle:
✔ Adds missing website title
✔ Does not add missing website title if itemType is missing
✔ Does not add missing website title if url is relative
addIDSToCitation:
✔ cleans script and html out of title
stripCitation:
✔ cleans script and html out of title
✔ does not clean doi
fixDate:
✔ Contains copyright symbol
✔ Is in brackets for some unfathomable reason
✔ Contains copyright symbol & whitespace
✔ Contains c symbol
✔ sets year only date to year only date
✔ converts American style date to ISO (44ms)
✔ Unable to parse so leaves as written; season (278ms)
✔ Chooses worldcat publication year
✔ Multilingual date - Spanish - leaves as written
✔ Multilingual date - Russian - leaves as written (44ms)
✔ Normal date
✔ Normal date with ordinal indicator
✔ Correctly sets normal date with ordinal number
✔ Date on the fence: ISO with - notation
✔ Date on the fence; ISO with + notation
✔ Date on the fence; toString output
✔ Date on the fence; ISO with Z notation
✔ Year first date
✔ Partial ISO date no preceeding 0
✔ Full ISO date no preceeding 0
✔ Full ISO date no preceeding 0 month or day
✔ Slashes full date
✔ Slashes partial date
✔ Slashes partial date with 0 month
- Slashes partial date with 00s
✔ Slashes partial year with 00s
✔ XX partial date
✔ XX partial year
✔ unix timestamp
✔ unix timestamp with space
fixDOI:
✔ Correctly gets DOI from full citation
✔ Correctly removes DOI that is not a DOI
✔ Correctly gets DOI when only DOI is present
fixISBN:
✔ Correctly hyphenates single ISBN-10
✔ Correctly handles ISBN-13s that have spaces in them
✔ Correctly extracts two ISBN-10s
✔ Correctly extracts ISBN-13
✔ Correctly extracts ISBN-10 and ISBN-13
✔ Correctly handles and normalizes hyphenated ISBN
✔ Correctly handles ISBNs with and without hyphens
✔ Correctly handles multiple ISBN-13s that have spaces in them
✔ Correctly handles out comma separated ISBNs
fixISSN:
✔ Correctly ignores None ISSN
✔ Correctly adds valid ISSN
✔ Correctly adds valid ISSN with spaces
✔ Correctly adds valid ISSN with X
✔ Correctly adds valid ISSN with x
✔ Correctly ignores invalid ISSN without hyphen
✔ Correctly ignores invalid ISSN
validateISSN:
✔ Correctly ignores None ISSN
✔ Correctly adds valid ISSN
✔ Correctly adds valid ISSN with spaces
✔ Correctly adds valid ISSN with X
✔ Correctly adds valid ISSN with x
✔ Correctly ignores invalid ISSN without hyphen
✔ Correctly ignores invalid ISSN
fixPages:
✔ converts hyphen minus to en dash
replaceCreators:
✔ Correctly adds name with firstName and lastName present
✔ Correctly adds names with only lastName or firstName present
✔ Adds names with name field
✔ Doesn't add names with incorrect field name
export formats:
wikibase:
different search term types
✔ url from search, doi from result
✔ doi from search, no url
✔ qid, no url
✔ pmid, no url
✔ pmcid, no url
different item types
✔ itemType webpage
✔ itemType book
✔ itemType journalArticle
lib/util.js issueRequest
preq compatibility
✔ rejects without URI
✔ should get content
✔ should wrap 404 in HTTPError
✔ should support query string (qs)
✔ should support simple string URI
✔ should follow redirects
✔ should not follow redirects when followRedirect is false
✔ should support url property as alias for uri
response body encoding
JSON parsing
✔ parses valid JSON correctly
✔ returns HTML as string when content-type claims application/json
✔ returns malformed JSON as string instead of throwing SyntaxError
✔ handles HTML error page with JSON content-type on 500 status
charset handling
✔ handles application/json with charset parameter
✔ decodes non-UTF-8 charset correctly
encoding: null (raw buffer)
✔ returns raw Buffer when encoding is null
✔ handles error responses with encoding: null
cookie jar handling
✔ sends cookies from jar in request
✔ stores Set-Cookie headers in jar
✔ maintains cookies across multiple requests
✔ works without jar (no errors)
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 (40ms)
✔ 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 (71ms)
addItemType function:
✔ sets videoRecording itemType
✔ sets article itemType
✔ sets audioRecording itemType from openGraph
✔ sets itemType webpage if no relevant metadata available
check specific results:
✔ sets right info from webpage for general metadata
✔ sets right info from webpage for bepress metadata
coins metadata
✔ Correctly adds pages from spage and epage
✔ Correctly fixes en dash in pages fields
✔ Correctly adds date
exports.other.addCreators function
✔ Doesn't add empty creators field
✔ Doesn't add creators field if missing itemType
- Doesn't add duplicate author names
- Doesn't add duplicate author names with nbsp present
✔ Correctly adds name with missing firstname
✔ Correctly adds name with missing lastname
✔ Correctly uses aulast, auinit1 and auinitm
✔ Correctly uses auinit1 and auinitm
✔ Correctly adds corporation names
✔ Does split names in au field
crossRef translator unit
✔ Creator translate function adds lists of strings
dateParts function
✔ Translates full date
✔ Translates year and day
✔ Translates year only
✔ Fails with object
✔ Fails with list not nested
✔ Works with strings date
- Does not work with unexpected input
dublinCore translator unit
✔ Creator translate function adds lists of strings
✔ Correctly adds an author string with one word
✔ Correctly adds an author string with two words
✔ Correctly adds an author string with three words
general translator unit
✔ Author function adds lists of strings
✔ Correctly adds an author string with one word
✔ Correctly adds an author string with two words
✔ Correctly adds an author string with three words
✔ Does not try to split Harry Potter author field from worldcat
translator utilities:
makeTranslator function:
✔ strips leading and trailing whitespace
✔ replaces nonbreaking space characters with spaces
✔ correctly adds date with fixDate validate function
✔ correctly uses fixLang validate function
✔ removes line feed characters from title field
✔ preserves line feed characters in abstractNote field
✔ removes line feed characters from other fields
makePagesTranslator function:
✔ Uses spage and epage
✔ Uses optional pages arg and converts - to en dash
makeListTranslator function:
✔ Correctly adds one isbn
✔ Correctly uses isbn validate function
✔ Correctly uses issn validate function
✔ Correctly adds two issn and one eissn
✔ Correctly adds two isbn
makeCreatorsTranslator function:
✔ Name as written
✔ Has multiple authors in the field
✔ Format Last name, first name
✔ Adds two different contributor types
lib/unshorten.js
debug/unshorten Unshortening: http://www.example.com
debug/unshorten Already unshortened to: http://www.example.com
✔ Returns successful Promise if already unshortened
209 passing (953ms)
4 pending
address restrictions
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:14.205Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8e42bf20-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"node","x-request-id":"8e42bf20-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49608},"msg":"http://localhost:1970 is not public, and is disallowed","time":"2026-01-29T16:14:15.063Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://localhost:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"8e42bf20-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2Flocalhost%3A1970","headers":{"user-agent":"node","x-request-id":"8e42bf20-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49608},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:15.066Z","v":0}
✔ http://localhost:1970 (84ms)
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8e4900b0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"node","x-request-id":"8e4900b0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49608},"msg":"http://127.0.0.1:1970 is not public, and is disallowed","time":"2026-01-29T16:14:15.100Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://127.0.0.1:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"8e4900b0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2F127.0.0.1%3A1970","headers":{"user-agent":"node","x-request-id":"8e4900b0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49608},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:15.101Z","v":0}
✔ http://127.0.0.1:1970
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://foobarbaz.example.com/","outgoingReqResult":{"error":"AddressError"},"request_id":"8e4a8750-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2Ffoobarbaz.example.com%2F","headers":{"user-agent":"node","x-request-id":"8e4a8750-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49594},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:15.129Z","v":0}
✔ non-existing
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8e4e7ef0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"node","x-request-id":"8e4e7ef0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49594},"msg":"http://10.0.0.5/ is not public, and is disallowed","time":"2026-01-29T16:14:15.136Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://10.0.0.5/","outgoingReqResult":{"error":"AddressError"},"request_id":"8e4e7ef0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2F10.0.0.5%2F","headers":{"user-agent":"node","x-request-id":"8e4e7ef0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49594},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:15.137Z","v":0}
✔ 10.0.0.5
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"8e4f9060-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"8e4f9060-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49594},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-29T16:14:15.143Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"8e4f9060-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"8e4f9060-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49594},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:15.144Z","v":0}
✔ private ip
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/zotero","request_id":"8e507ac0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"user-agent":"node","x-request-id":"8e507ac0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49594},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2026-01-29T16:14:16.282Z","v":0}
✔ acceptable domain, with scheme (1337ms)
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/zotero","request_id":"8f1ca460-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/en.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"user-agent":"node","x-request-id":"8f1ca460-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49594},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2026-01-29T16:14:16.501Z","v":0}
✔ acceptable domain, without scheme (157ms)
encoding
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:16.646Z","v":0}
✔ javascript in format
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/pubmed","request_id":"8f3adac0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/10.1000%2Ff%3Cscript%3Ealert(1)%3B%3C%2Fscript%3E","headers":{"user-agent":"node","x-request-id":"8f3adac0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49612},"msg":"Unknown pubmed error","time":"2026-01-29T16:14:16.769Z","v":0}
✔ javascript in doi (128ms)
✔ json in format
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://www.example.com/spaces%20in%20url","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"www.example.com","uri":"http://www.example.com/spaces%20in%20url"},"request_id":"8f4f7430-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com%2Fspaces%20in%20url","headers":{"user-agent":"node","x-request-id":"8f4f7430-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49612},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:16.849Z","v":0}
✔ spaces in fully qualified url
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://www.example.com/spaces%20in%20url","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"www.example.com","uri":"http://www.example.com/spaces%20in%20url"},"request_id":"8f54f270-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/www.example.com%2Fspaces%20in%20url","headers":{"user-agent":"node","x-request-id":"8f54f270-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49612},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:16.880Z","v":0}
✔ spaces in url missing http://
✔ Handles weird encoding
errors
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:16.897Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for https://example./com","outgoingReqResult":{"error":"AddressError"},"request_id":"8f5d56e0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/example.%2Fcom","headers":{"user-agent":"node","x-request-id":"8f5d56e0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49636},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:16.914Z","v":0}
✔ bad domain
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for https://en.wikipedia.org/404","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"en.wikipedia.org","uri":"https://en.wikipedia.org/404"},"request_id":"8f5e8f60-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fen.wikipedia.org%2F404","headers":{"user-agent":"node","x-request-id":"8f5e8f60-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49620},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:16.925Z","v":0}
✔ resource has http errors
✔ unknown doi (455ms)
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://DOI.org/10.1007/11926078_68'","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"doi.org","uri":"https://doi.org/10.1007/11926078_68'"},"request_id":"8fa5f8a0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68'","headers":{"user-agent":"node","x-request-id":"8fa5f8a0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49620},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:17.940Z","v":0}
✔ doi url with single quote (1356ms)
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for http://DOI.org/10.1007/11926078_68%22","outgoingReqResult":{"status":404,"error":"HTTPError","hostname":"doi.org","uri":"https://doi.org/10.1007/11926078_68%22"},"request_id":"90750870-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%22","headers":{"user-agent":"node","x-request-id":"90750870-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49620},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:18.841Z","v":0}
✔ doi url with double quote (204ms)
✔ doi with single quote (402ms)
✔ PDF contentType unsupported (76ms)
✔ JSON contentType unsupported (148ms)
- bad pmid
- bad pmcid
deprecated api:
✔ format only
✔ search only
✔ valid search and format
redirects
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:19.605Z","v":0}
redirect chains
✔ redirect supported (99ms)
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"91093220-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"91093220-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49650},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-29T16:14:19.719Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"91093220-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"91093220-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49650},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:19.719Z","v":0}
✔ redir-to-private
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"910a6aa0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"910a6aa0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49650},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-29T16:14:19.730Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"910a6aa0-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"910a6aa0-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49650},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:19.730Z","v":0}
✔ redir-to-redir-private
✔ follows relative redirects (131ms)
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"91203c90-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"91203c90-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49650},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2026-01-29T16:14:19.879Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"91203c90-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"user-agent":"node","x-request-id":"91203c90-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49650},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:19.879Z","v":0}
✔ redir-to-redir-to-redir-to-private
✔ five-redirect-max-by-default-under (147ms)
✔ five-redirect-max-by-default-equal (344ms)
{"name":"citoid","hostname":"75e33015d28b","pid":314,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://httpbin.org/redirect-to?url=https://en.wikipedia.org/wiki/Zotero","outgoingReqResult":{"error":"AddressError"},"request_id":"916de760-fd2d-11f0-8232-6f2cddc19395","request":{"url":"/mediawiki/https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fen.wikipedia.org%2Fwiki%2FZotero","headers":{"user-agent":"node","x-request-id":"916de760-fd2d-11f0-8232-6f2cddc19395"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49650},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:20.391Z","v":0}
✔ five-redirect-max-by-default-over
relative redirects
✔ Handles relative filename redirects correctly
✔ Handles ./ relative redirects correctly
✔ Handles ../ parent directory redirects correctly
✔ Handles capital letters in protocol
✔ Handles subdirectory relative redirects correctly
✔ Handles absolute path redirects correctly
✔ Handles protocol-relative redirects correctly
39 passing (6s)
2 pending
citoid routing
{"name":"citoid","hostname":"75e33015d28b","pid":325,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:21.278Z","v":0}
✔ should not get deprecated query style request for uri (45ms)
{"name":"citoid","hostname":"75e33015d28b","pid":325,"level":40,"levelPath":"warn/zotero","request_id":"92628090-fd2d-11f0-96ad-0bb20cc81777","request":{"url":"/mediawiki/http%3A%2F%2Fexample.com","headers":{"user-agent":"node","x-request-id":"92628090-fd2d-11f0-96ad-0bb20cc81777"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":49668},"msg":"No Zot response available for http://example.com","time":"2026-01-29T16:14:22.305Z","v":0}
✔ should get restbase style request for uri (411ms)
express app
{"name":"citoid","hostname":"75e33015d28b","pid":325,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:22.389Z","v":0}
✔ should get robots.txt
✔ get landing page
✔ should set CORS headers
✔ should set CSP headers
service information
{"name":"citoid","hostname":"75e33015d28b","pid":325,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:22.426Z","v":0}
✔ should get the service name
✔ should get the service version
✔ should redirect to the service home page
✔ should get the service info
✔ should fail to get the service info for invalid endpoint
11 passing (1s)
correctly gets base fields instead of more specific fields (no zotero)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:23.363Z","v":0}
✔ webpage (210ms)
Native scraper:
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:24.081Z","v":0}
- doi in url with query parameters
✔ Adds extra parameters for archive.org (2078ms)
✔ missing protocol (143ms)
✔ case sensitive url (504ms)
✔ case sensitive url missing protocol (73ms)
Languages (no zotero):
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:26.897Z","v":0}
✔ open graph locale converted to language code (1654ms)
✔ non-native to node encoding in response (815ms)
- 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":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:29.380Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"96cd7bd0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"96cd7bd0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"bibtex"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35584},"msg":"No Zot response available for http://www.example.com","time":"2026-01-29T16:14:29.486Z","v":0}
✔ Get error for bibtex export (133ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"96e17900-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"96e17900-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35582},"msg":"No Zot response available for http://www.example.com","time":"2026-01-29T16:14:29.548Z","v":0}
✔ Success with mediawiki export (71ms)
Mock crossref and doi.org failures
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:29.594Z","v":0}
✔ Falls back on doi.org resolver when api is not available (124ms)
✔ falls back to CrossRef when DOI.org resolver is unavailable
Zotero service down or disabled:
unreachable
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:29.767Z","v":0}
✔ PMID not in doi id converter api (64ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf","outgoingReqResult":{"status":404,"hostname":"www.myfoodresearch.com","uri":"https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf"},"request_id":"97129b20-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"node","x-request-id":"97129b20-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:30.085Z","v":0}
✔ doi that points to pdf (292ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"973f7780-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/PMC3605911","headers":{"user-agent":"node","x-request-id":"973f7780-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002947","time":"2026-01-29T16:14:30.585Z","v":0}
✔ PMCID present in doi id converter api (794ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"97b89f20-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"97b89f20-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:31.013Z","v":0}
✔ JSTOR page (226ms)
- requires JS to be enabled
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"97db6960-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fdoi.org%2F10.1002%2Fjlac.18571010113","headers":{"user-agent":"node","x-request-id":"97db6960-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://chemistry-europe.onlinelibrary.wiley.com/doi/10.1002/jlac.18571010113","time":"2026-01-29T16:14:31.578Z","v":0}
✔ doi spage and epage fields in crossRef coins data (1204ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"989347b0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fmic.microbiologyresearch.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.082289-0","headers":{"user-agent":"node","x-request-id":"989347b0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0","time":"2026-01-29T16:14:33.379Z","v":0}
✔ successfully uses highwire press metadata (1880ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"99b22530-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fuknowledge.uky.edu%2Fupk_african_history%2F1%2F","headers":{"user-agent":"node","x-request-id":"99b22530-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://uknowledge.uky.edu/upk_african_history/1/","time":"2026-01-29T16:14:34.739Z","v":0}
✔ successfully uses bepress press metadata alone (814ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"9a2e3300-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"node","x-request-id":"9a2e3300-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:35.064Z","v":0}
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"9a2e3300-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"node","x-request-id":"9a2e3300-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.26954-0","time":"2026-01-29T16:14:35.309Z","v":0}
✔ Dead url with correct doi (1331ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"9afa3590-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/bibtex/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"node","x-request-id":"9afa3590-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"bibtex"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for http://www.example.com","time":"2026-01-29T16:14:36.435Z","v":0}
✔ Get error for bibtex export (79ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"9b064380-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"9b064380-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:36.543Z","v":0}
✔ requires cookie handling (195ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"9b242bc0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.1038%2Fscientificamerican0200-90","headers":{"user-agent":"node","x-request-id":"9b242bc0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://www.scientificamerican.com/article/uprooting-the-tree-of-life/","time":"2026-01-29T16:14:37.191Z","v":0}
✔ DOI pointing to resource that can't be scraped - uses crossRef (595ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://dx.DOI.org/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"https://www.jstor.org/stable/3677029?origin=crossref"},"request_id":"9b7ef5f0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"9b7ef5f0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:37.385Z","v":0}
✔ dx.DOI link - uses crossRef (237ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"9ba346d0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.14344%2FIOC.ML.4.4","headers":{"user-agent":"node","x-request-id":"9ba346d0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://www.worldbirdnames.org/ioc-lists/crossref/","time":"2026-01-29T16:14:45.373Z","v":0}
✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (12693ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"a3343a30-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.1016%2FS0305-0491(98)00022-4","headers":{"user-agent":"node","x-request-id":"a3343a30-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://linkinghub.elsevier.com/retrieve/pii/S0305049198000224","time":"2026-01-29T16:14:50.340Z","v":0}
✔ gets date from crossRef REST API (257ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"a35b4a30-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.1017%2Fisbn-9780511132971.eh1-7","headers":{"user-agent":"node","x-request-id":"a35b4a30-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://hsus.cambridge.org/HSUSWeb/jsp/Intermediate.jsp?id=Eh1-7","time":"2026-01-29T16:14:53.257Z","v":0}
✔ gets editors from crossRef REST API for book-tract type (3584ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"a57e5140-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.4271%2F2015-01-0821","headers":{"user-agent":"node","x-request-id":"a57e5140-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://saemobilus.sae.org/papers/simulating-a-complete-performance-map-ethanol-fueled-boosted-hcci-engine-2015-01-0821","time":"2026-01-29T16:14:54.368Z","v":0}
✔ gets proceedings from crossRef REST API (464ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"a5c54550-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fwww.google.com","headers":{"user-agent":"node","x-request-id":"a5c54550-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for http://www.google.com","time":"2026-01-29T16:14:54.580Z","v":0}
✔ uses original url (218ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"a5e63ad0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fblog.woorank.com%2F2013%2F04%2Fdublin-core-metadata-for-seo-and-usability%2F","headers":{"user-agent":"node","x-request-id":"a5e63ad0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://www.woorank.com/en/blog/dublin-core-metadata-for-seo-and-usability","time":"2026-01-29T16:14:55.234Z","v":0}
✔ websiteTitle but no publicationTitle (655ms)
- dublinCore data with multiple identifiers in array
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"a64a53d0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.1017%2Fs0305004100013554","headers":{"user-agent":"node","x-request-id":"a64a53d0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://www.cambridge.org/core/journals/mathematical-proceedings-of-the-cambridge-philosophical-society/article/abs/discussion-of-probability-relations-between-separated-systems/C1C71E1AA5BA56EBE6588AAACB9A222D","time":"2026-01-29T16:14:56.792Z","v":0}
✔ has page range in direct scrape (2441ms)
✔ Only PMCID but no PMID or DOI; does not scrape (57ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"levelPath":"warn/zotero","request_id":"a7c7f320-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.1029%2F94WR00436","headers":{"user-agent":"node","x-request-id":"a7c7f320-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":35612},"msg":"No Zot response available for https://agupubs.onlinelibrary.wiley.com/doi/10.1029/94WR00436?cookieSet=1","time":"2026-01-29T16:14:58.355Z","v":0}
✔ DOI with redirect - Wiley (564ms)
disabled in conf
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:14:58.442Z","v":0}
✔ PMID not in doi id converter api (63ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf","outgoingReqResult":{"status":404,"hostname":"www.myfoodresearch.com","uri":"https://www.myfoodresearch.com/uploads/8/4/8/5/84855864/_26__fr-2019-s12_zae.pdf"},"request_id":"a82a3760-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/10.26656%2Ffr.2017.4(s1).s12","headers":{"user-agent":"node","x-request-id":"a82a3760-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":34666},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:58.783Z","v":0}
✔ doi that points to pdf (295ms)
✔ PMCID present in doi id converter api (578ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"a8af9400-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"a8af9400-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":34666},"levelPath":"warn/CitoidService","time":"2026-01-29T16:14:59.449Z","v":0}
✔ JSTOR page with tabs in natively scraped title (199ms)
- requires JS to be enabled
✔ doi spage and epage fields in crossRef coins data (1531ms)
✔ successfully uses highwire press metadata (5334ms)
✔ successfully uses bepress press metadata alone (1084ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"ad8ba090-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"user-agent":"node","x-request-id":"ad8ba090-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":34666},"levelPath":"warn/CitoidService","time":"2026-01-29T16:15:07.551Z","v":0}
✔ Dead url with doi (1961ms)
✔ Get error for bibtex export (67ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://www.jstor.org/discover/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"http://www.jstor.org/stable/10.2307/3677029"},"request_id":"aec16170-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"aec16170-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":34666},"levelPath":"warn/CitoidService","time":"2026-01-29T16:15:09.642Z","v":0}
✔ requires cookie handling (271ms)
✔ DOI pointing to resource that can't be scraped - uses crossRef (283ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://dx.DOI.org/10.2307/3677029","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"www.jstor.org","uri":"https://www.jstor.org/stable/3677029?origin=crossref"},"request_id":"af163830-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"user-agent":"node","x-request-id":"af163830-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":34666},"levelPath":"warn/CitoidService","time":"2026-01-29T16:15:10.267Z","v":0}
✔ dx.DOI link - uses crossRef (249ms)
✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (1435ms)
✔ gets date from crossRef REST API (235ms)
✔ gets editors from crossRef REST API for book-tract type (2776ms)
✔ gets proceedings from crossRef REST API (277ms)
✔ No PMID or DOI; does not scrape (60ms)
✔ DOI with redirect - Wiley (1856ms)
Freetext or ambiguous search, classified as "any" input type, i.e. title or citation
Default config
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:15:17.025Z","v":0}
✔ spaces in url missing http:// and www (108ms)
✔ json in search (244ms)
✔ javascript in search (541ms)
✔ localhost:1970 (110ms)
✔ Open search for Schrodinger (334ms)
✔ Open search containing <> works; but gets wrong results from crossRef (134ms)
✔ Open search with www but no protocol (129ms)
- Open search with doi
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://hdl.handle.net/1902.1/UOVMCPSWOL","outgoingReqResult":{"status":403,"error":"HTTPError","hostname":"dataverse.harvard.edu","uri":"https://dataverse.harvard.edu/citation?persistentId=hdl:1902.1/UOVMCPSWOL"},"request_id":"b42a6bc0-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/Frederico%20Girosi%3B%20Gary%20King%2C%202006%2C%20%E2%80%98Cause%20of%20Death%20Data%E2%80%99%2C%20http%3A%2F%2Fhdl.handle.net%2F1902.1%2FUOVMCPSWOL%20UNF%3A3%3A9JU%2BSmVyHgwRhAKclQ85Cg%3D%3D%20IQSS%20Dataverse%20Network%20%5BDistributor%5D%20V3%20%5BVersion%5D.","headers":{"user-agent":"node","x-request-id":"b42a6bc0-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38346},"levelPath":"warn/CitoidService","time":"2026-01-29T16:15:18.969Z","v":0}
✔ Open search with url (323ms)
✔ Open search with single term (46ms)
✔ Harry Potter (57ms)
✔ No results returns 404
✔ should fail for whitespace-only query
✔ should extract URL from citation template with pipes (112ms)
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":40,"msg":"requestFromURL failed for http://www.example.com+/","outgoingReqResult":{"error":"AddressError"},"request_id":"b4831310-fd2d-11f0-bab2-c9c3e1761047","request":{"url":"/mediawiki/%3Cref%3E%7B%7Bcite%2Bweb%2B%7Curl%3Dhttp%3A%2F%2Fwww.example.com%2B%7Caccess-date%3DJanuary%2B22%2C%2B2022%7D%7D%3C%2Fref%3E","headers":{"user-agent":"node","x-request-id":"b4831310-fd2d-11f0-bab2-c9c3e1761047"},"method":"GET","params":{"format":"mediawiki"},"query":{},"remoteAddress":"127.0.0.1","remotePort":38346},"levelPath":"warn/CitoidService","time":"2026-01-29T16:15:19.240Z","v":0}
✔ should only get open search results as url cannot be extracted (120ms)
Tests using a very short timeout - all use crossRef - zotero disabled
{"name":"citoid","hostname":"75e33015d28b","pid":336,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2026-01-29T16:15:19.357Z","v":0}
DOI
✔ DOI- missing PMCID (49ms)
✔ direct DOI
✔ DOI with redirect
- non-dx.DOI link with DOI pointing to resource in zotero with no DOI
✔ DOI pointing to resource in zotero with no DOI (42ms)
- DOI.org link pointing to resource in zotero with no DOI
✔ DOI which requires cookie to properly follow redirect to Zotero (55ms)
✔ doi pointing to conferencePaper
- doi in url with query parameters
✔ doi with US style date (46ms)
71 passing (56s)
10 pending
--- end ---
$ package-lock-lint /src/repo/package-lock.json
--- stdout ---
Checking /src/repo/package-lock.json
--- end ---
[DNM] there are no updates
$ git add .
--- stdout ---
--- end ---
$ git commit -F /tmp/tmpx5z66cho
--- stdout ---
[master c52455e] [DNM] there are no updates
1 file changed, 25 insertions(+), 22 deletions(-)
--- end ---
$ git format-patch HEAD~1 --stdout
--- stdout ---
From c52455e520ed2896cc1b6dec86159811bf7e469c Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Thu, 29 Jan 2026 16:15:19 +0000
Subject: [PATCH] [DNM] there are no updates
Change-Id: Ib2d155b33f3be9774a8928e5be79ac6c95b6fd69
---
package-lock.json | 47 +++++++++++++++++++++++++----------------------
1 file changed, 25 insertions(+), 22 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index d4106ba..fece1fd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -502,21 +502,22 @@
"dev": true
},
"node_modules/@eslint/js": {
- "version": "8.57.0",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.0.tgz",
- "integrity": "sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==",
+ "version": "8.57.1",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",
+ "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
}
},
"node_modules/@humanwhocodes/config-array": {
- "version": "0.11.14",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.14.tgz",
- "integrity": "sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==",
+ "version": "0.13.0",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
+ "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
+ "deprecated": "Use @eslint/config-array instead",
"dev": true,
"dependencies": {
- "@humanwhocodes/object-schema": "^2.0.2",
+ "@humanwhocodes/object-schema": "^2.0.3",
"debug": "^4.3.1",
"minimatch": "^3.0.5"
},
@@ -525,12 +526,12 @@
}
},
"node_modules/@humanwhocodes/config-array/node_modules/debug": {
- "version": "4.3.4",
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
- "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "version": "4.4.3",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
+ "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
"dev": true,
"dependencies": {
- "ms": "2.1.2"
+ "ms": "^2.1.3"
},
"engines": {
"node": ">=6.0"
@@ -542,9 +543,9 @@
}
},
"node_modules/@humanwhocodes/config-array/node_modules/ms": {
- "version": "2.1.2",
- "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
- "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "version": "2.1.3",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
"dev": true
},
"node_modules/@humanwhocodes/module-importer": {
@@ -561,9 +562,10 @@
}
},
"node_modules/@humanwhocodes/object-schema": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz",
- "integrity": "sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==",
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
+ "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
+ "deprecated": "Use @eslint/object-schema instead",
"dev": true
},
"node_modules/@isaacs/cliui": {
@@ -2733,16 +2735,17 @@
}
},
"node_modules/eslint": {
- "version": "8.57.0",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.0.tgz",
- "integrity": "sha512-dZ6+mexnaTIbSBZWgou51U6OmzIhYM2VcNdtiTtI7qPNZm35Akpr0f6vtw3w1Kmn5PYo+tZVfh13WrhpS6oLqQ==",
+ "version": "8.57.1",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
+ "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
+ "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.6.1",
"@eslint/eslintrc": "^2.1.4",
- "@eslint/js": "8.57.0",
- "@humanwhocodes/config-array": "^0.11.14",
+ "@eslint/js": "8.57.1",
+ "@humanwhocodes/config-array": "^0.13.0",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
"@ungap/structured-clone": "^1.2.0",
--
2.47.3
--- end ---