[Pkg-javascript-devel] Bug#927254: libjs-vue-router: ships node module instead of browser one

Dmitry Bogatov KAction at debian.org
Tue Apr 16 23:44:07 BST 2019


Package: libjs-vue-router
Version: 3.0.2+ds-1
Severity: normal

Dear Maintainer,

I am working on packaging Laminar CI system, and libjs-vue-router is one
of its dependencies. Upstream build system of Laminar downloads its
dependencies from web, but to comply with Policy, I patched it to use
local files. Unfortunately, it did not work.

Upstream author of Laminar (in CC) kindly provided following information:

  OK this is a problem. It looks like the libjs-vue-router package is not
  really a pure javascript package but actually a node.js one (probably
  should be named node-vue-router). It even lists nodejs in its dependencies:
  https://packages.debian.org/sid/libjs-vue-router

  I tried all the variations under /usr/share/javascript/vue-router, all fail
  in some variation of the same issue. I don't know how it worked for me last
  time, probably I made a mistake and accidentally used the "browser"
  vue-router js file.

  If you use the latest "browser" version of vue-router, available here:
  https://unpkg.com/vue-router@3.0.3/dist/vue-router.js and linked from their
  installation page:
  https://router.vuejs.org/installation.html#direct-download-cdn then it
  works. So I think what should happen, at least ideally, is that the
  existing libjs-vue-router package should be renamed node-vue-router (and it
  should not symlink from /usr/share/javascript/vue-router to
  ../../lib/nodejs/vue-router/dist, and it should depend on node-vue not
  libjs-vue), and a new package named libjs-vue-router should be created
  containing the "browser" version. This would seem to be consistent with
  Debian Javascript packaging as I understand it

I have no expertise to comment on this, but can you please consider this
argument?
-- 
        Note, that I send and fetch email in batch, once every 24 hours.
                 If matter is urgent, try https://t.me/kaction
                                                                             --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20190416/d0f136b0/attachment.sig>


More information about the Pkg-javascript-devel mailing list