Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1187565

Bug#1064824: libjs-d3-tip: TypeError: h.map is not a function

From Julian Gilbey <jdg@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1064824: libjs-d3-tip: TypeError: h.map is not a function
Date 2024-02-26 10:40 +0100
Message-ID <IbFCN-cJbt-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.dist | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1064824: libjs-d3-tip: TypeError: h.map is not a function Julian Gilbey <jdg@debian.org> - 2024-02-26 10:40 +0100
  Bug#1064824: libjs-d3-tip: TypeError: h.map is not a function Julian Gilbey <jdg@debian.org> - 2024-02-26 11:20 +0100
    Bug#1064824: libjs-d3-tip: TypeError: h.map is not a function Petter Reinholdtsen <pere@debian.org> - 2024-02-26 12:20 +0100
      Bug#1064824: libjs-d3-tip: TypeError: h.map is not a function Julian Gilbey <jdg@debian.org> - 2024-02-26 17:40 +0100
        Bug#1064824: node-d3: fails to export map and other functions Julian Gilbey <jdg@debian.org> - 2024-02-28 23:00 +0100
  Bug#1064824: node-d3: fails to export map and other functions Julian Gilbey <jdg@debian.org> - 2024-03-04 23:00 +0100
  Bug#1064824: node-d3: fails to export map and other functions Nilesh Patra <nilesh@debian.org> - 2024-03-05 13:20 +0100

csiph-web