This run took 117 seconds.
$ date --- stdout --- Thu May 22 22:28:17 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 --- db22a5b482a207956152f29b19d08be0c3bfdeef refs/heads/master --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "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.22.0", "isSemVerMajor": true } }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/tough-cookie" ], "fixAvailable": false }, "wikimedia-kad-fork": { "name": "wikimedia-kad-fork", "severity": "moderate", "isDirect": false, "via": [ "ms" ], "effects": [ "limitation" ], "range": "*", "nodes": [ "node_modules/wikimedia-kad-fork" ], "fixAvailable": { "name": "service-runner", "version": "3.0.0", "isSemVerMajor": true } } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 7, "high": 3, "critical": 0, "total": 10 }, "dependencies": { "prod": 247, "dev": 397, "optional": 15, "peer": 1, "peerOptional": 0, "total": 657 } } } --- end --- $ /usr/bin/npm audit --json --- stdout --- { "auditReportVersion": 2, "vulnerabilities": { "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.22.0", "isSemVerMajor": true } }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/tough-cookie" ], "fixAvailable": false }, "wikimedia-kad-fork": { "name": "wikimedia-kad-fork", "severity": "moderate", "isDirect": false, "via": [ "ms" ], "effects": [ "limitation" ], "range": "*", "nodes": [ "node_modules/wikimedia-kad-fork" ], "fixAvailable": { "name": "service-runner", "version": "3.0.0", "isSemVerMajor": true } } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 7, "high": 3, "critical": 0, "total": 10 }, "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@1.3.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": { "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.22.0", "isSemVerMajor": true } }, "tough-cookie": { "name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [ { "source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": [ "CWE-1321" ], "cvss": { "score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N" }, "range": "<4.1.3" } ], "effects": [ "request" ], "range": "<4.1.3", "nodes": [ "node_modules/tough-cookie" ], "fixAvailable": false }, "wikimedia-kad-fork": { "name": "wikimedia-kad-fork", "severity": "moderate", "isDirect": false, "via": [ "ms" ], "effects": [ "limitation" ], "range": "*", "nodes": [ "node_modules/wikimedia-kad-fork" ], "fixAvailable": { "name": "service-runner", "version": "3.0.0", "isSemVerMajor": true } } }, "metadata": { "vulnerabilities": { "info": 0, "low": 0, "moderate": 7, "high": 3, "critical": 0, "total": 10 }, "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": {"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.22.0", "isSemVerMajor": true}}, "tough-cookie": {"name": "tough-cookie", "severity": "moderate", "isDirect": false, "via": [{"source": 1097682, "name": "tough-cookie", "dependency": "tough-cookie", "title": "tough-cookie Prototype Pollution vulnerability", "url": "https://github.com/advisories/GHSA-72xf-g2v4-qvf3", "severity": "moderate", "cwe": ["CWE-1321"], "cvss": {"score": 6.5, "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"}, "range": "<4.1.3"}], "effects": ["request"], "range": "<4.1.3", "nodes": ["node_modules/tough-cookie"], "fixAvailable": false}, "wikimedia-kad-fork": {"name": "wikimedia-kad-fork", "severity": "moderate", "isDirect": false, "via": ["ms"], "effects": ["limitation"], "range": "*", "nodes": ["node_modules/wikimedia-kad-fork"], "fixAvailable": {"name": "service-runner", "version": "3.0.0", "isSemVerMajor": true}}}, "metadata": {"vulnerabilities": {"info": 0, "low": 0, "moderate": 7, "high": 3, "critical": 0, "total": 10}, "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@1.3.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.22.0, 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@1.3.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@1.3.0 test > npm run lint && mocha ./test/features/unit/* && mocha ./test/features/errors/* && mocha ./test/features/app/* && mocha --exit ./test/features/scraping/* > citoid@1.3.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 (232ms) ✔ Chooses worldcat publication year ✔ Multilingual date - Spanish - leaves as written ✔ Multilingual date - Russian - leaves as written (39ms) ✔ 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 (717ms) 4 pending address restrictions {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:28:53.762Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"24ea2910-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Flocalhost%3A1970","headers":{"content-length":"0","x-request-id":"24ea2910-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://localhost:1970"},"remoteAddress":"127.0.0.1","remotePort":50852},"msg":"http://localhost:1970 is not public, and is disallowed","time":"2025-05-22T22:28:54.436Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"msg":"requestFromURL failed for http://localhost:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"24ea2910-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Flocalhost%3A1970","headers":{"content-length":"0","x-request-id":"24ea2910-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://localhost:1970"},"remoteAddress":"127.0.0.1","remotePort":50852},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:54.439Z","v":0} ✔ http://localhost:1970 (69ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"24f106e0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2F127.0.0.1%3A1970","headers":{"content-length":"0","x-request-id":"24f106e0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://127.0.0.1:1970"},"remoteAddress":"127.0.0.1","remotePort":50880},"msg":"http://127.0.0.1:1970 is not public, and is disallowed","time":"2025-05-22T22:28:54.479Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"msg":"requestFromURL failed for http://127.0.0.1:1970","outgoingReqResult":{"error":"AddressError"},"request_id":"24f106e0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2F127.0.0.1%3A1970","headers":{"content-length":"0","x-request-id":"24f106e0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://127.0.0.1:1970"},"remoteAddress":"127.0.0.1","remotePort":50880},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:54.480Z","v":0} ✔ http://127.0.0.1:1970 {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"msg":"requestFromURL failed for http://foobarbaz.example.com/","outgoingReqResult":{"error":"AddressError"},"request_id":"24f26670-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Ffoobarbaz.example.com%2F","headers":{"content-length":"0","x-request-id":"24f26670-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://foobarbaz.example.com/"},"remoteAddress":"127.0.0.1","remotePort":50894},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:54.498Z","v":0} ✔ non-existing {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"24f4d770-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2F10.0.0.5%2F","headers":{"content-length":"0","x-request-id":"24f4d770-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://10.0.0.5/"},"remoteAddress":"127.0.0.1","remotePort":50900},"msg":"http://10.0.0.5/ is not public, and is disallowed","time":"2025-05-22T22:28:54.504Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"msg":"requestFromURL failed for http://10.0.0.5/","outgoingReqResult":{"error":"AddressError"},"request_id":"24f4d770-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2F10.0.0.5%2F","headers":{"content-length":"0","x-request-id":"24f4d770-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://10.0.0.5/"},"remoteAddress":"127.0.0.1","remotePort":50900},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:54.505Z","v":0} ✔ 10.0.0.5 {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"24f5e8e0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2F192.168.1.2","headers":{"content-length":"0","x-request-id":"24f5e8e0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":50914},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-05-22T22:28:54.511Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"msg":"requestFromURL failed for http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"24f5e8e0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2F192.168.1.2","headers":{"content-length":"0","x-request-id":"24f5e8e0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":50914},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:54.512Z","v":0} ✔ private ip {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/zotero","request_id":"24f6d340-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"content-length":"0","x-request-id":"24f6d340-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436"},"remoteAddress":"127.0.0.1","remotePort":50930},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436","time":"2025-05-22T22:28:55.597Z","v":0} ✔ acceptable domain, with scheme (1514ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/zotero","request_id":"25de4d10-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=en.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DInternet_Assigned_Numbers_Authority%26oldid%3D664999436","headers":{"content-length":"0","x-request-id":"25de4d10-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"en.wikipedia.org/w/index.php?title=Internet_Assigned_Numbers_Authority&oldid=664999436"},"remoteAddress":"127.0.0.1","remotePort":50932},"msg":"No Zot response available for https://en.wikipedia.org/w/index.php?title=internet_assigned_numbers_authority&oldid=664999436","time":"2025-05-22T22:28:56.374Z","v":0} ✔ acceptable domain, without scheme (491ms) encoding {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:28:56.524Z","v":0} ✔ javascript in format {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/pubmed","request_id":"262c9420-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=10.1000%2Ff%3Cscript%3Ealert%281%29%3B%3C%2Fscript%3E","headers":{"content-length":"0","x-request-id":"262c9420-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1000/f<script>alert(1);</script>"},"remoteAddress":"127.0.0.1","remotePort":50968},"msg":"Unknown pubmed error","time":"2025-05-22T22:28:56.595Z","v":0} ✔ javascript in doi (92ms) ✔ json in format {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"263bfd70-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fwww.example.com%2Fspaces%20in%20url","headers":{"content-length":"0","x-request-id":"263bfd70-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://www.example.com/spaces in url"},"remoteAddress":"127.0.0.1","remotePort":50992},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:56.835Z","v":0} ✔ spaces in fully qualified url (196ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"265a33d0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=www.example.com%2Fspaces%20in%20url","headers":{"content-length":"0","x-request-id":"265a33d0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"www.example.com/spaces in url"},"remoteAddress":"127.0.0.1","remotePort":51000},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:56.857Z","v":0} ✔ spaces in url missing http:// errors {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:28:56.863Z","v":0} ✔ missing search in query ✔ missing format in query ✔ bad format in query {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"msg":"requestFromURL failed for https://example./com","outgoingReqResult":{"error":"AddressError"},"request_id":"2663d0c0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=example.%2Fcom","headers":{"content-length":"0","x-request-id":"2663d0c0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"example./com"},"remoteAddress":"127.0.0.1","remotePort":51032},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:56.911Z","v":0} ✔ bad domain {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"2664bb20-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fen.wikipedia.org%2F404","headers":{"content-length":"0","x-request-id":"2664bb20-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://en.wikipedia.org/404"},"remoteAddress":"127.0.0.1","remotePort":51038},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:56.927Z","v":0} ✔ resource has http errors ✔ unknown doi (95ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"26764750-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%27","headers":{"content-length":"0","x-request-id":"26764750-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":51056},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:57.096Z","v":0} ✔ doi url with single quote (143ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/pubmed","request_id":"26764750-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%27","headers":{"content-length":"0","x-request-id":"26764750-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":51056},"msg":"Unknown pubmed error","time":"2025-05-22T22:28:57.230Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"268c1940-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%22","headers":{"content-length":"0","x-request-id":"268c1940-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68\""},"remoteAddress":"127.0.0.1","remotePort":51058},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:57.234Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/pubmed","request_id":"26764750-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2FDOI.org%2F10.1007%2F11926078_68%27","headers":{"content-length":"0","x-request-id":"26764750-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://DOI.org/10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":51056},"msg":"Unknown pubmed error","time":"2025-05-22T22:28:57.290Z","v":0} ✔ doi url with double quote (156ms) ✔ doi with single quote (67ms) - bad pmid - bad pmcid redirects {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:28:57.405Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/pubmed","request_id":"26a43520-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=10.1007%2F11926078_68%27","headers":{"content-length":"0","x-request-id":"26a43520-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1007/11926078_68'"},"remoteAddress":"127.0.0.1","remotePort":51070},"msg":"Unknown pubmed error","time":"2025-05-22T22:28:57.510Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/zotero","request_id":"26b1c9b0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2Fwww.example.com","headers":{"content-length":"0","x-request-id":"26b1c9b0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":51086},"msg":"No Zot response available for http://www.example.com","time":"2025-05-22T22:28:57.654Z","v":0} ✔ redirect supported (269ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"26da8760-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"content-length":"0","x-request-id":"26da8760-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":51094},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-05-22T22:28:57.692Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"msg":"requestFromURL failed for https://httpbin.org/redirect-to?url=http://192.168.1.2","outgoingReqResult":{"error":"AddressError"},"request_id":"26da8760-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"content-length":"0","x-request-id":"26da8760-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=http://192.168.1.2"},"remoteAddress":"127.0.0.1","remotePort":51094},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:57.692Z","v":0} ✔ redir-to-private {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"26dbe6f0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"content-length":"0","x-request-id":"26dbe6f0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"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":51106},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-05-22T22:28:57.708Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"26dbe6f0-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttps%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3Dhttp%3A%2F%2F192.168.1.2","headers":{"content-length":"0","x-request-id":"26dbe6f0-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"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":51106},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:57.709Z","v":0} ✔ redir-to-redir-private {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/zotero","request_id":"26df4250-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fhttpbin.org%2Fredirect-to%3Furl%3D%2Fredirect-to%3Furl%3Dhttp%3A%2F%2Fexample.com","headers":{"content-length":"0","x-request-id":"26df4250-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://httpbin.org/redirect-to?url=/redirect-to?url=http://example.com"},"remoteAddress":"127.0.0.1","remotePort":51108},"msg":"No Zot response available for http://example.com","time":"2025-05-22T22:28:57.862Z","v":0} ✔ follows relative redirects (285ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/hostIsAllowed","request_id":"270b0d40-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=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":{"content-length":"0","x-request-id":"270b0d40-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"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":51112},"msg":"http://192.168.1.2 is not public, and is disallowed","time":"2025-05-22T22:28:58.027Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"270b0d40-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=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":{"content-length":"0","x-request-id":"270b0d40-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"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":51112},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:58.028Z","v":0} ✔ redir-to-redir-to-redir-to-private {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/zotero","request_id":"270f7a10-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=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":{"content-length":"0","x-request-id":"270f7a10-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"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":51126},"msg":"No Zot response available for https://en.wikipedia.org/wiki/Zotero","time":"2025-05-22T22:28:58.071Z","v":0} ✔ five-redirect-max-by-default-under (176ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"level":40,"levelPath":"warn/zotero","request_id":"272a5510-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=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":{"content-length":"0","x-request-id":"272a5510-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"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":51130},"msg":"No Zot response available for https://en.wikipedia.org/wiki/Zotero","time":"2025-05-22T22:28:58.253Z","v":0} ✔ five-redirect-max-by-default-equal (134ms) {"name":"citoid","hostname":"49d011be9d02","pid":437,"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":"273eee80-375c-11f0-a036-a9bd3741c658","request":{"url":"/api?format=mediawiki&search=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":{"content-length":"0","x-request-id":"273eee80-375c-11f0-a036-a9bd3741c658"},"method":"GET","params":{"0":"/api"},"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":51140},"levelPath":"warn/CitoidService","time":"2025-05-22T22:28:58.385Z","v":0} ✔ five-redirect-max-by-default-over (46ms) 29 passing (5s) 2 pending citoid routing {"name":"citoid","hostname":"49d011be9d02","pid":448,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:04.232Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":448,"level":40,"levelPath":"warn/zotero","request_id":"2b2c0730-375c-11f0-a45e-69406ca13316","request":{"url":"/mediawiki/http%3A%2F%2Fwww.example.com","headers":{"user-agent":"undici","x-request-id":"2b2c0730-375c-11f0-a45e-69406ca13316"},"method":"GET","params":{"0":"/mediawiki/http://www.example.com"},"query":{"format":"mediawiki","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":44872},"msg":"No Zot response available for http://www.example.com","time":"2025-05-22T22:29:04.995Z","v":0} ✔ should get restbase style shim request for uri (153ms) ✔ should error for missing search param {"name":"citoid","hostname":"49d011be9d02","pid":448,"level":40,"levelPath":"warn/zotero","request_id":"2b405280-375c-11f0-a45e-69406ca13316","request":{"url":"/mediawiki/10.1371%2Fjournal.pcbi.1002947","headers":{"user-agent":"undici","x-request-id":"2b405280-375c-11f0-a45e-69406ca13316"},"method":"GET","params":{"0":"/mediawiki/10.1371/journal.pcbi.1002947"},"query":{"format":"mediawiki","search":"10.1371/journal.pcbi.1002947"},"remoteAddress":"127.0.0.1","remotePort":44872},"msg":"No Zot response available for https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002947","time":"2025-05-22T22:29:05.722Z","v":0} ✔ should get restbase style shim request for doi (1418ms) {"name":"citoid","hostname":"49d011be9d02","pid":448,"level":40,"levelPath":"warn/zotero","request_id":"2c192650-375c-11f0-a45e-69406ca13316","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fexample.com","headers":{"content-length":"0","x-request-id":"2c192650-375c-11f0-a45e-69406ca13316"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://example.com"},"remoteAddress":"127.0.0.1","remotePort":44890},"msg":"No Zot response available for http://example.com","time":"2025-05-22T22:29:06.613Z","v":0} ✔ should get non-restbase style request for uri (292ms) express app {"name":"citoid","hostname":"49d011be9d02","pid":448,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:06.779Z","v":0} ✔ should get robots.txt ✔ get landing page ✔ should set CORS headers ✔ should set CSP headers service information {"name":"citoid","hostname":"49d011be9d02","pid":448,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:06.838Z","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 (3s) correctly gets base fields instead of more specific fields (no zotero) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:12.716Z","v":0} ✔ webpage (445ms) Native scraper: {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:13.772Z","v":0} - doi in url with query parameters {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"msg":"Unable to get any metadata from url https://web.archive.org/web/20131021085548/http://www.nbcnews.com/health/75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794;\n\t\t\t\t\treturning 404 response.","outgoingReqResult":{"hostname":"web.archive.org","uri":"https://web.archive.org/web/20131021085548/http://www.nbcnews.com/health/75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794"},"request_id":"3072e380-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fweb.archive.org%2Fweb%2F20131021085548%2Fhttp%3A%2F%2Fwww.nbcnews.com%2Fhealth%2F75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794","headers":{"content-length":"0","x-request-id":"3072e380-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://web.archive.org/web/20131021085548/http://www.nbcnews.com/health/75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794"},"remoteAddress":"127.0.0.1","remotePort":49438},"levelPath":"warn/scraper","time":"2025-05-22T22:29:15.473Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"msg":"requestFromURL failed for https://web.archive.org/web/20131021085548/http://www.nbcnews.com/health/75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794","outgoingReqResult":{"status":404,"hostname":"web.archive.org","uri":"https://web.archive.org/web/20131021085548/http://www.nbcnews.com/health/75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794"},"request_id":"3072e380-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=https%3A%2F%2Fweb.archive.org%2Fweb%2F20131021085548%2Fhttp%3A%2F%2Fwww.nbcnews.com%2Fhealth%2F75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794","headers":{"content-length":"0","x-request-id":"3072e380-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"https://web.archive.org/web/20131021085548/http://www.nbcnews.com/health/75-percent-breast-milk-bought-online-contaminated-analysis-shows-8C11421794"},"remoteAddress":"127.0.0.1","remotePort":49438},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:15.475Z","v":0} 1) Adds extra parameters for archive.org Languages (no zotero): {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:15.489Z","v":0} ✔ open graph locale converted to language code (1353ms) ✔ non-native to node encoding in response (1079ms) ✔ content-type header present in body but not in response headers (821ms) - Language present in html tag mock Zotero service that cannot export {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:18.757Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"336b3bf0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=bibtex&search=http%3A%2F%2Fwww.example.com","headers":{"content-length":"0","x-request-id":"336b3bf0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"bibtex","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":49478},"msg":"No Zot response available for http://www.example.com","time":"2025-05-22T22:29:18.784Z","v":0} ✔ Get error for bibtex export (54ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"33730420-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fwww.example.com","headers":{"content-length":"0","x-request-id":"33730420-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":49492},"msg":"No Zot response available for http://www.example.com","time":"2025-05-22T22:29:18.827Z","v":0} ✔ Success with mediawiki export Zotero service down or disabled: unreachable {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:18.842Z","v":0} ✔ PMID not in doi id converter api (93ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/CitoidService","request_id":"338616f0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.26656%2Ffr.2017.4%28s1%29.s12","headers":{"content-length":"0","x-request-id":"338616f0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.26656/fr.2017.4(s1).s12"},"remoteAddress":"127.0.0.1","remotePort":49516},"msg":"requestFromURL failed with 415 error","time":"2025-05-22T22:29:19.218Z","v":0} ✔ doi that points to pdf (335ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"33b95bf0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=PMC3605911","headers":{"content-length":"0","x-request-id":"33b95bf0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"PMC3605911"},"remoteAddress":"127.0.0.1","remotePort":49520},"msg":"No Zot response available for https://journals.plos.org/ploscompbiol/article?id=10.1371/journal.pcbi.1002947","time":"2025-05-22T22:29:19.843Z","v":0} ✔ PMCID present in doi id converter api (847ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"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":"343a99e0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"content-length":"0","x-request-id":"343a99e0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":49528},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:20.196Z","v":0} ✔ JSTOR page (230ms) - requires JS to be enabled {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"345e2770-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fdoi.org%2F10.1002%2Fjlac.18571010113","headers":{"content-length":"0","x-request-id":"345e2770-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://doi.org/10.1002/jlac.18571010113"},"remoteAddress":"127.0.0.1","remotePort":49536},"msg":"No Zot response available for https://chemistry-europe.onlinelibrary.wiley.com/doi/10.1002/jlac.18571010113","time":"2025-05-22T22:29:20.730Z","v":0} ✔ doi spage and epage fields in crossRef coins data (842ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"34dea210-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fmic.microbiologyresearch.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.082289-0","headers":{"content-length":"0","x-request-id":"34dea210-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://mic.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0"},"remoteAddress":"127.0.0.1","remotePort":49546},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.082289-0","time":"2025-05-22T22:29:22.764Z","v":0} ✔ successfully uses highwire press metadata (2797ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"368992f0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fuknowledge.uky.edu%2Fupk_african_history%2F1%2F","headers":{"content-length":"0","x-request-id":"368992f0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://uknowledge.uky.edu/upk_african_history/1/"},"remoteAddress":"127.0.0.1","remotePort":36362},"msg":"No Zot response available for https://uknowledge.uky.edu/upk_african_history/1/","time":"2025-05-22T22:29:24.448Z","v":0} ✔ successfully uses bepress press metadata alone (708ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"36f54d10-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"content-length":"0","x-request-id":"36f54d10-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"remoteAddress":"127.0.0.1","remotePort":36366},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:24.714Z","v":0} {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"36f54d10-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"content-length":"0","x-request-id":"36f54d10-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"remoteAddress":"127.0.0.1","remotePort":36366},"msg":"No Zot response available for https://www.microbiologyresearch.org/content/journal/micro/10.1099/mic.0.26954-0","time":"2025-05-22T22:29:24.952Z","v":0} ✔ Dead url with correct doi (1101ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"379dc210-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=bibtex&search=http%3A%2F%2Fwww.example.com","headers":{"content-length":"0","x-request-id":"379dc210-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"bibtex","search":"http://www.example.com"},"remoteAddress":"127.0.0.1","remotePort":36368},"msg":"No Zot response available for http://www.example.com","time":"2025-05-22T22:29:25.823Z","v":0} ✔ Get error for bibtex export (38ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"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":"37a38e70-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"content-length":"0","x-request-id":"37a38e70-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":36370},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:25.905Z","v":0} ✔ requires cookie handling (223ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"37c5e380-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.1038%2Fscientificamerican0200-90","headers":{"content-length":"0","x-request-id":"37c5e380-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1038/scientificamerican0200-90"},"remoteAddress":"127.0.0.1","remotePort":36380},"msg":"No Zot response available for https://www.scientificamerican.com/article/uprooting-the-tree-of-life/","time":"2025-05-22T22:29:27.063Z","v":0} ✔ DOI pointing to resource that can't be scraped - uses crossRef (1153ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"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":"3875f9a0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"content-length":"0","x-request-id":"3875f9a0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://dx.DOI.org/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":36386},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:27.336Z","v":0} ✔ dx.DOI link - uses crossRef (259ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"389df400-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.14344%2FIOC.ML.4.4","headers":{"content-length":"0","x-request-id":"389df400-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.14344/IOC.ML.4.4"},"remoteAddress":"127.0.0.1","remotePort":36388},"msg":"No Zot response available for https://www.worldbirdnames.org/ioc-lists/crossref/","time":"2025-05-22T22:29:28.069Z","v":0} ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (981ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"3933a450-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.1016%2FS0305-0491%2898%2900022-4","headers":{"content-length":"0","x-request-id":"3933a450-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1016/S0305-0491(98)00022-4"},"remoteAddress":"127.0.0.1","remotePort":36394},"msg":"No Zot response available for https://linkinghub.elsevier.com/retrieve/pii/S0305049198000224","time":"2025-05-22T22:29:28.620Z","v":0} ✔ gets date from crossRef REST API (272ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"395d4c60-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.1017%2Fisbn-9780511132971.eh1-7","headers":{"content-length":"0","x-request-id":"395d4c60-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1017/isbn-9780511132971.eh1-7"},"remoteAddress":"127.0.0.1","remotePort":36406},"msg":"No Zot response available for https://hsus.cambridge.org/HSUSWeb/jsp/Intermediate.jsp?id=Eh1-7","time":"2025-05-22T22:29:31.227Z","v":0} ✔ gets editors from crossRef REST API for book-tract type (3091ms) ✔ gets proceedings from crossRef REST API (320ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"3b6662d0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fwww.google.com","headers":{"content-length":"0","x-request-id":"3b6662d0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://www.google.com"},"remoteAddress":"127.0.0.1","remotePort":36428},"msg":"No Zot response available for http://www.google.com","time":"2025-05-22T22:29:32.356Z","v":0} ✔ uses original url (486ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"3bb03d10-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fblog.woorank.com%2F2013%2F04%2Fdublin-core-metadata-for-seo-and-usability%2F","headers":{"content-length":"0","x-request-id":"3bb03d10-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://blog.woorank.com/2013/04/dublin-core-metadata-for-seo-and-usability/"},"remoteAddress":"127.0.0.1","remotePort":36440},"msg":"No Zot response available for https://www.woorank.com/en/blog/dublin-core-metadata-for-seo-and-usability","time":"2025-05-22T22:29:32.966Z","v":0} ✔ websiteTitle but no publicationTitle (394ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"3bec5bb0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fapps.who.int%2Firis%2Fhandle%2F10665%2F70863","headers":{"content-length":"0","x-request-id":"3bec5bb0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://apps.who.int/iris/handle/10665/70863"},"remoteAddress":"127.0.0.1","remotePort":33758},"msg":"No Zot response available for https://iris.who.int/handle/10665/70863","time":"2025-05-22T22:29:34.974Z","v":0} ✔ dublinCore data with multiple identifiers in array (2051ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"3d2577f0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.1017%2Fs0305004100013554","headers":{"content-length":"0","x-request-id":"3d2577f0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1017/s0305004100013554"},"remoteAddress":"127.0.0.1","remotePort":33774},"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-05-22T22:29:37.412Z","v":0} ✔ has page range in direct scrape (3378ms) ✔ Only PMCID but no PMID or DOI; does not scrape (42ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/zotero","request_id":"3f2f9fd0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.1029%2F94WR00436","headers":{"content-length":"0","x-request-id":"3f2f9fd0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.1029/94WR00436"},"remoteAddress":"127.0.0.1","remotePort":33794},"msg":"No Zot response available for https://agupubs.onlinelibrary.wiley.com/doi/10.1029/94WR00436?cookieSet=1","time":"2025-05-22T22:29:38.919Z","v":0} ✔ DOI with redirect - Wiley (510ms) disabled in conf {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:29:39.022Z","v":0} ✔ PMID not in doi id converter api (104ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"levelPath":"warn/CitoidService","request_id":"3f900f50-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=10.26656%2Ffr.2017.4%28s1%29.s12","headers":{"content-length":"0","x-request-id":"3f900f50-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"10.26656/fr.2017.4(s1).s12"},"remoteAddress":"127.0.0.1","remotePort":33836},"msg":"requestFromURL failed with 415 error","time":"2025-05-22T22:29:39.324Z","v":0} ✔ doi that points to pdf (224ms) ✔ PMCID present in doi id converter api (530ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"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":"400391a0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fwww.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"content-length":"0","x-request-id":"400391a0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":33840},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:39.954Z","v":0} ✔ JSTOR page with tabs in natively scraped title (182ms) - requires JS to be enabled ✔ doi spage and epage fields in crossRef coins data (13544ms) ✔ successfully uses highwire press metadata (2243ms) ✔ successfully uses bepress press metadata alone (800ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":40,"msg":"requestFromURL failed for http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0","outgoingReqResult":{"error":"AddressError"},"request_id":"4a0250b0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fmic.sgmjournals.org%2Fcontent%2Fjournal%2Fmicro%2F10.1099%2Fmic.0.26954-0","headers":{"content-length":"0","x-request-id":"4a0250b0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://mic.sgmjournals.org/content/journal/micro/10.1099/mic.0.26954-0"},"remoteAddress":"127.0.0.1","remotePort":60198},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:56.672Z","v":0} ✔ Dead url with doi (1889ms) ✔ Get error for bibtex export {"name":"citoid","hostname":"49d011be9d02","pid":459,"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":"4b28cf50-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=www.jstor.org%2Fdiscover%2F10.2307%2F3677029","headers":{"content-length":"0","x-request-id":"4b28cf50-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"www.jstor.org/discover/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":60212},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:58.676Z","v":0} ✔ requires cookie handling (223ms) ✔ DOI pointing to resource that can't be scraped - uses crossRef (326ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"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":"4b7d7f00-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=http%3A%2F%2Fdx.DOI.org%2F10.2307%2F3677029","headers":{"content-length":"0","x-request-id":"4b7d7f00-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"query":{"format":"mediawiki","search":"http://dx.DOI.org/10.2307/3677029"},"remoteAddress":"127.0.0.1","remotePort":60230},"levelPath":"warn/CitoidService","time":"2025-05-22T22:29:59.288Z","v":0} ✔ dx.DOI link - uses crossRef (264ms) ✔ Case sensitive DOI with 5 digit registrant code and unknown genre in crossRef (862ms) ✔ gets date from crossRef REST API (258ms) ✔ gets editors from crossRef REST API for book-tract type (3366ms) ✔ gets proceedings from crossRef REST API (566ms) ✔ No PMID or DOI; does not scrape (46ms) ✔ DOI with redirect - Wiley (1431ms) Freetext or ambiguous search, classified as "any" input type, i.e. title or citation Default config {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:30:05.957Z","v":0} ✔ spaces in url missing http:// and www (327ms) ✔ json in search (467ms) ✔ javascript in search (625ms) ✔ localhost:1970 (376ms) ✔ Open search for Schrodinger (298ms) ✔ Open search containing <> works; but gets wrong results from crossRef (230ms) ✔ Open search with www but no protocol (143ms) ✔ Open search with doi (1172ms) {"name":"citoid","hostname":"49d011be9d02","pid":459,"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":"51ba05f0-375c-11f0-8168-5fcd296c8988","request":{"url":"/api?format=mediawiki&search=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":{"content-length":"0","x-request-id":"51ba05f0-375c-11f0-8168-5fcd296c8988"},"method":"GET","params":{"0":"/api"},"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":60852},"levelPath":"warn/CitoidService","time":"2025-05-22T22:30:10.355Z","v":0} ✔ Open search with url (747ms) ✔ Open search with single term (65ms) ✔ Harry Potter (54ms) Tests using a very short timeout - all use crossRef - zotero disabled {"name":"citoid","hostname":"49d011be9d02","pid":459,"level":50,"levelPath":"error/metrics","msg":"No such metrics client: 'undefined'","time":"2025-05-22T22:30:10.485Z","v":0} DOI ✔ DOI- missing PMCID (40ms) ✔ direct DOI (42ms) ✔ DOI with redirect (73ms) - non-dx.DOI link with DOI pointing to resource in zotero with no DOI ✔ DOI pointing to resource in zotero with no DOI (41ms) - DOI.org link pointing to resource in zotero with no DOI ✔ DOI which requires cookie to properly follow redirect to Zotero (68ms) ✔ doi pointing to conferencePaper (40ms) - doi in url with query parameters ✔ doi with US style date (67ms) 64 passing (58s) 7 pending 1 failing 1) Native scraper: Adds extra parameters for archive.org: HTTPError: 404: http_error at request.then.query (node_modules/preq/index.js:228:23) at tryCatcher (node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:547:31) at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:604:18) at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:649:10) at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:729:18) at _drainQueueStep (node_modules/bluebird/js/release/async.js:93:12) at _drainQueue (node_modules/bluebird/js/release/async.js:86:9) at Async._drainQueues (node_modules/bluebird/js/release/async.js:102:5) at Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:15:14) at process.processImmediate (node:internal/timers:476:21) --- end --- Traceback (most recent call last): File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 2026, in main libup.run(args.repo, args.output, args.branch) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 1968, in run self.npm_audit_fix(new_npm_audit) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 275, in npm_audit_fix self.npm_test() File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/__init__.py", line 325, in npm_test self.check_call(["npm", "test"]) File "/venv/lib/python3.11/site-packages/runner-0.1.0-py3.11.egg/runner/shell2.py", line 59, in check_call res.check_returncode() File "/usr/lib/python3.11/subprocess.py", line 502, in check_returncode raise CalledProcessError(self.returncode, self.args, self.stdout, subprocess.CalledProcessError: Command '['/usr/bin/npm', 'test']' returned non-zero exit status 1.