citeclaw 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "citeclaw",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Citation and bibliography toolkit for DOI, URL, arXiv, PDF, Zotero, and MCP workflows.",
5
5
  "homepage": "https://github.com/trotsky1997/citeclaw",
6
6
  "license": "Apache-2.0",
@@ -1578,7 +1578,7 @@ function isHttpUrl( raw ) {
1578
1578
  function normalizeArxivId( raw ) {
1579
1579
  const value = String( raw || '' ).trim();
1580
1580
  const id = value
1581
- .replace( /^https?:\/\/arxiv\.org\/(?:abs|pdf)\//i, '' )
1581
+ .replace( /^https?:\/\/arxiv\.org\/(?:abs|pdf|html)\//i, '' )
1582
1582
  .replace( /\.pdf$/i, '' )
1583
1583
  .replace( /^arxiv:/i, '' )
1584
1584
  .trim();
@@ -5012,6 +5012,7 @@ module.exports = {
5012
5012
  extractBestDoiCandidate,
5013
5013
  extractPdfCandidates,
5014
5014
  main,
5015
+ normalizeArxivId,
5015
5016
  normalizeDoi,
5016
5017
  shouldAttemptPdfOcr
5017
5018
  };