- Package:
- node-mdn-browser-compat-data
- Source:
- node-mdn-browser-compat-data
- Submitter:
- Julien Puydt
- Date:
- 2021-12-25 08:57:02 UTC
- Severity:
- important
The package doesn't ship some parts of upstream ; I'm trying to package a module and get: Error: Cannot find module 'mdn-browser-compat- data/html/global_attributes.json' Cheers, J.Puydt
Hello, Bug #1000739 in node-mdn-browser-compat-data reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/js-team/node-mdn-browser-compat-data/-/commit/0ed98be8d6402d65f7150971677a8d36925a2f1b (this message was generated automatically) -- Greetings https://bugs.debian.org/1000739
We believe that the bug you reported is fixed in the latest version of node-mdn-browser-compat-data, 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 1000739@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Julien Puydt <jpuydt@debian.org> (supplier of updated node-mdn-browser-compat-data 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: Sun, 05 Dec 2021 13:55:30 +0100 Source: node-mdn-browser-compat-data Architecture: source Version: 4.0.12-2 Distribution: unstable Urgency: medium Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org> Changed-By: Julien Puydt <jpuydt@debian.org> Closes: 1000739 Changes: node-mdn-browser-compat-data (4.0.12-2) unstable; urgency=medium . * Team upload. * Ship much more data. (Closes: #1000739). * Make the data available through different paths. Checksums-Sha1: a6ed762bb6886b937bd5faad75b4aade8446735b 2248 node-mdn-browser-compat-data_4.0.12-2.dsc 323bc4ecb504ef0a5fdcdbbdad05b5979e3e9f7d 33796 node-mdn-browser-compat-data_4.0.12-2.debian.tar.xz a946bce8eec6adbd65437657272208c376940a37 11484 node-mdn-browser-compat-data_4.0.12-2_source.buildinfo Checksums-Sha256: 59468256ea2ed4fa61ec1106a3a3c97f7926a1386be3752d13d9137f65eb0a69 2248 node-mdn-browser-compat-data_4.0.12-2.dsc 8eaf053859eeedeb3972c32c6298a29503bc4e199e23c631bdb15834f2204920 33796 node-mdn-browser-compat-data_4.0.12-2.debian.tar.xz 4eeb6d6e94a84f4d094cd4ba5cb5a58e5660bf60b4927c430c120eace564ce5c 11484 node-mdn-browser-compat-data_4.0.12-2_source.buildinfo Files: 03161981015c7b6f52065321fb0256ab 2248 javascript optional node-mdn-browser-compat-data_4.0.12-2.dsc ea6d7446d5b614c06a549aac7c5f7627 33796 javascript optional node-mdn-browser-compat-data_4.0.12-2.debian.tar.xz 180ff3cf61809d78327d503651f0768a 11484 javascript optional node-mdn-browser-compat-data_4.0.12-2_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAmGstvUSHGpwdXlkdEBk ZWJpYW4ub3JnAAoJEATFO9f+AwVR2gUP/0h6K+CERuEbpObn2H56bi7znICdCUv/ JFbWPgNQijI+q5K08kAlzY8TD67bk2buhaevTs6HTsZD4fctr54a9csWVJl0P6Cw E8pdzKIPm9tc0UiBKZbQYdXTf0jsbvnlSm7mZ8eCTu9vQ1VvFqB3BxMb4EKkvJ+y zeIUfpSO3IYERKn3gqOKoRw/gAqlCQdOjn4DGLNZmjr4L5bIjsRluXGSGfMc/1Fi nUVDZg+NCfv1/JhuedPjMYcH+jUI1X8WG1ODSlXalgS6oRf1CFcgJsSsTWOAOUKx Jg2Xo7e6ds7+MN7coQQFlGXschVJkPuHczAZWxnywOqDv63XC5PqwVzp3g6mV/9h e95EPV/2Z3rF0u9X1dsMjJH/4iGeUq84jDFGqXHRqywTDdkxRdFOlTQdA2Z6ihhs Lso1u3Ee3CqaoE2S4bfyrHEoGVGDowN4qoK/EkApZ+TOdi7PTuDItBkGG/8C8sxl GZo8PuTf7i3cKYNeYBDWqs8AFniGt3NoTyWioCu4yEWcEVlacPh6QOTtYJG0Q7rX BfvESIn76Nta5w4irOcWwL0Lb7Hel7Fux8Sm5FpC3E2mXEaYgpJ9LuWH+Ssw4lE5 vrRTNCN72R2jws6jxkyTNMu0fey+CH3Kgl3gz4irlmq6mx00DrDZpFqur42gHKQ8 XW7wW8PxBlp4 =xQB1 -----END PGP SIGNATURE-----
Hi Julien, you were wrong in your fix: you wanted mdn-browser-compat-data/html/global_attributes.json which is provided by mdn-browser-compat-data module (not packaged). The new @mdn/browser-compat-data provides just one data.json. I think we should revert your change and you should patch your package to use @mdn/browser-compat-data/data.json#global_attribute instead of mdn-browser-compat-data/html/global_attributes.json Cheers, Yadd
Hi, Le vendredi 24 décembre 2021 à 19:00 +0100, Yadd a écrit : Why are you claiming this module isn't packaged... in a bug report about its packaging? Its debian/install file didn't list much, so I completed it, and it gave the other package I worked on what it wanted, just like it wanted, no patch necessary -- so I fail to see what's wrong here. I just had a look, and uscan says there's a new 4.1.2 version out, where I see html/global_attributes.json is still there. Are we looking at the same thing? I have: $ git remote -v origin https://salsa.debian.org/js-team/node-mdn-browser-compat-data (fetch) origin https://salsa.debian.org/js-team/node-mdn-browser-compat-data (push) Cheers, J.Puydt
Try `npm i @mdn/browser-compat-data`, you'll see that I'm right
This files are source files, build produces the npm package in built/
directory
Yes, it's a source file, upstream does not integrate it in published
package because it's a duplication.
Here is the patch to apply to old packages:
< foo = require("mdn-browser-compat-data/html/global_attributes.json")
> foo = require("@mdn/browser-compat-data/data.json").global_attributes
Like @rollup/plugin-xxx. "@" and "/" are not allowed in Debian package
name. So we have to drop them. Look at package.json#name. This package
is @mdn/browser-compat-data, not mdn-browser-compat-data
Cheers,
Yadd
Fix:
< foo = require("mdn-browser-compat-data/html/global_attributes.json")
> foo = require("@mdn/browser-compat-data/data.json")
> .html.global_attributes