#1148876 ITP: node-svg-parser -- create a JSON-friendly object from an SVG string

#1148876#5
Date:
2026-09-24 14:45:18 UTC
From:
To:
* Package name    : node-svg-parser
  Version         : 2.0.4
  Upstream Author : Rich Harris
* URL             : https://github.com/Rich-Harris/svg-parser
* License         : MIT
  Programming Lang: JavaScript
  Description     : create a JSON-friendly object from an SVG string

svg-parser turns a string holding an SVG document or fragment into a HAST
(Hypertext Abstract Syntax Tree) object -- the same shape that unified's
remark-parse produces for HTML, which makes it convenient to consume with
other unified-compatible tooling.

It is a dependency of @svgr/plugin-jsx, part of the @svgr toolbox that the
webpack build of the Zotero note editor (ITP #1148540) uses to turn .svg
files into React components.

The module has no runtime dependencies: the published UMD and ES builds
inline locate-character, the one module the single source file imports.  Note
that the npm tarball ships only dist/, not src/, so the Debian package builds
dist/ with rollup from the sources in the upstream git tag.

I intend to maintain this package within the Debian JavaScript team.

Thanks,
Emfox

#1148876#10
Date:
2026-09-26 17:00:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
node-svg-parser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1148876@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Emfox Zhou <emfox@debian.org> (supplier of updated node-svg-parser package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 24 Sep 2026 22:30:09 +0800
Source: node-svg-parser
Binary: node-svg-parser
Architecture: source all
Version: 2.0.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Changed-By: Emfox Zhou <emfox@debian.org>
Description:
 node-svg-parser - Create a JSON-friendly object from an SVG string
Closes: 1148876
Changes:
 node-svg-parser (2.0.4-1) unstable; urgency=medium
 .
   * Initial release (Closes: #1148876)
Checksums-Sha1:
 fde05dac1469c1efbbd57ac224f03b23d0354d17 2165 node-svg-parser_2.0.4-1.dsc
 cfa8ea4e801ab535c72dbc41d2ab7500936cf8be 19024 node-svg-parser_2.0.4.orig.tar.xz
 95fe337142af6647742b1ba67c839528ea6d2681 2540 node-svg-parser_2.0.4-1.debian.tar.xz
 b10f0864f144543954a2a24070b7d9f0e01fc94c 9604 node-svg-parser_2.0.4-1_all.deb
 e5d798f6e5ae9e57c60a19df35e788ba1f7fa02b 9783 node-svg-parser_2.0.4-1_amd64.buildinfo
Checksums-Sha256:
 eaf2e4c638d1cb54d333f37321407690b89b9fb764d70f4070d41925d1f565d7 2165 node-svg-parser_2.0.4-1.dsc
 d8bb2c56c074e75d8ec2191d2e1fcd7ec22f295128db61d591f26ce511a578f4 19024 node-svg-parser_2.0.4.orig.tar.xz
 61c5287b355e55dc484221f6962015c39e7c3cda49eda5fd126067a61de6c17b 2540 node-svg-parser_2.0.4-1.debian.tar.xz
 e8e3ab1f0c01a6df2f72a84b7dc2a34796ce02325dcbb44dde4c898ee0262272 9604 node-svg-parser_2.0.4-1_all.deb
 406743c7472ba6ae5fa080517f1daefd2a0b9504e105620438eb2a599b58ffb5 9783 node-svg-parser_2.0.4-1_amd64.buildinfo
Files:
 e38401ec44e9331515d6abf0a0acb5dc 2165 javascript optional node-svg-parser_2.0.4-1.dsc
 f0d7798fbec3e08ff1f3903597650b0a 19024 javascript optional node-svg-parser_2.0.4.orig.tar.xz
 18fe509999f73f79ebb790d50d3a8fed 2540 javascript optional node-svg-parser_2.0.4-1.debian.tar.xz
 e877d2c3e40303039d7bbaaac793dfd2 9604 javascript optional node-svg-parser_2.0.4-1_all.deb
 873bf7aba6aa72a27803a56e32948345 9783 javascript optional node-svg-parser_2.0.4-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEGSauJtItZVqOiaNpgImbv9t7vZQFAmq1mPcACgkQgImbv9t7
vZTzJw//d9nRMPcnzw/8oHO89dztnVYbdHDH8AnOon69J0pejkpdaQOPgcF4rLw+
CnmT0gqn4iCYoQXe86WKkA7ezDbzWFx1QvECEeDaMs/3Mk66b+dD8MPDnJLD8YIz
FoB5ryHqNMeINStAD/puAdYD9JwPYXiFjvyM7XHeok1A/2n7CSo6YTQVY9G2ks2S
2o9GsPiouuc8BgcE/vzVz0dSZ510g7xc8KdCtCvpFHIFtlqCBdbVjALbjteq3cFM
7Wzr4hDbTp6Un7Wr1rxha7mS2yJo+L+X8lW7Xpepm+05d8SeCvHC+IBAyfyCY4Sn
OPsSQBXRtYvgzubAyMVESv65MiOOjZ5OJ0FhjpLhnuTiREcb1ytrF1UzJoKonOFR
aakoekaTe2HFbcFowex3WC4DnrFxk0ryOs5N4FS4h6fr23RNzD7EZhkA1AL6sxKX
iCVL9YYauG6TcpeoeKlwg1QEFnWZhsNlmGNr42e+SUJN7kjbLdZcFJX+FUYR5dl2
6pfiY8OffCGYHkkrBn0Xp2FQL1Q5y+Ipz8fElCAbHeErLxDvn+FtJC0KLPWvbglc
rzOyaFj1y8N6CSbx7oUB/9jyo2FjZG6wcEmxoJzm2XT2b6QWhWdHT6lOsBhMO9C0
mwUFCtHx0CkhthyftPOC9Gf3wuAuQa2l+pA0n/tORbWALWs/Inc=
=ueRX
-----END PGP SIGNATURE-----