[Pkg-javascript-devel] Bug#942218: node-sourcemap-codec: link file index.js incorrect

Nicolas Mora nicolas at babelouest.org
Sat Oct 12 14:26:36 BST 2019


Package: node-sourcemap-codec
Version: 1.4.5
Severity: normal
Tags: patch

The link usr/lib/nodejs/sourcemap-codec/index.js included in the package
points to the file usr/lib/nodejs/sourcemap-codec/sourcemap-codec.js
where it should link to usr/lib/nodejs/sourcemap-codec/dist/sourcemap-codec.umd.js

-- System Information:
Debian Release: 10.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), (500, 'testing')
Architecture: armhf (armv7l)

Kernel: Linux 3.10.107 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages node-sourcemap-codec depends on:
pn  node-vlq  <none>
pn  nodejs    <none>

node-sourcemap-codec recommends no packages.

node-sourcemap-codec suggests no packages.
-------------- next part --------------
diff --git a/debian/links b/debian/links
index e733015..1e2cc11 100644
--- a/debian/links
+++ b/debian/links
@@ -1,2 +1,2 @@
 # otherwise node-es6-module-transpiler isn't smart enough to find it
-usr/lib/nodejs/sourcemap-codec/index.js usr/lib/nodejs/sourcemap-codec/sourcemap-codec.js
+usr/lib/nodejs/sourcemap-codec/dist/sourcemap-codec.umd.js usr/lib/nodejs/sourcemap-codec/index.js


More information about the Pkg-javascript-devel mailing list