[Pkg-javascript-devel] Bug#1064824: libjs-d3-tip: TypeError: h.map is not a function

Julian Gilbey jdg at debian.org
Mon Feb 26 09:32:44 GMT 2024


Package: libjs-d3-tip
Version: 0.7.1-5
Severity: important

I have tried to use d3-tip.min.js for a website in another package,
but it fails with the error: "Uncaught (in promise) TypeError: h.map
is not a function".  This comes from the index.js line "d3.map({
...".  Presumably d3 no longer ships a map function.  In more recent
versions of d3-tip (which is now archived), this has been resolved by
importing "map" from d3-collections.  So maybe the best way to fix
this bug is to upgrade the package.

Best wishes,

   Julian



More information about the Pkg-javascript-devel mailing list