Your message dated Fri, 08 Sep 2017 18:04:13 +0000 with message-id <[email protected]> and subject line Bug#794988: fixed in node-htmlparser2 3.9.2-1 has caused the Debian Bug report #794988, regarding node-htmlparser2: throws "Cannot find module 'domhandler'" to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 794988: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=794988 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: node-htmlparser2 Version: 3.7.3-1 Severity: important Dear Maintainer, I tried the example in the htmlparser2 readme, and it throws an error while trying to load the module: $ cat test.js var htmlparser = require("htmlparser2"); var parser = new htmlparser.Parser({ onopentag: function(name, attribs){ if(name === "script" && attribs.type === "text/javascript"){ console.log("JS! Hooray!"); } }, ontext: function(text){ console.log("-->", text); }, onclosetag: function(tagname){ if(tagname === "script"){ console.log("That's it?!"); } } }, {decodeEntities: true}); parser.write("Xyz <script type='text/javascript'>var foo = '<<bar>>';</ script>"); parser.end(); $ node test.js module.js:340 throw err; ^ Error: Cannot find module 'domhandler' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/usr/lib/nodejs/htmlparser2/lib/index.js:2:18) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) zsh: exit 8 node test.js Thanks. -- Jason -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages node-htmlparser2 depends on: ii node-entities 1.1.1-1 ii nodejs 0.10.38~dfsg-1 node-htmlparser2 recommends no packages. node-htmlparser2 suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: node-htmlparser2 Source-Version: 3.9.2-1 We believe that the bug you reported is fixed in the latest version of node-htmlparser2, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Paolo Greppi <[email protected]> (supplier of updated node-htmlparser2 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Wed, 11 Jan 2017 17:50:19 +0100 Source: node-htmlparser2 Binary: node-htmlparser2 Architecture: source Version: 3.9.2-1 Distribution: unstable Urgency: low Maintainer: Debian Javascript Maintainers <[email protected]> Changed-By: Paolo Greppi <[email protected]> Description: node-htmlparser2 - Fast & forgiving HTML/XML/RSS parser Closes: 794988 Changes: node-htmlparser2 (3.9.2-1) unstable; urgency=low . * New upstream release * Unbundle node-dom{elementtype,handler,utils} (Closes: #794988) Checksums-Sha1: aa3df14ba53353a4d0034231785749d2ea3fbb6e 2262 node-htmlparser2_3.9.2-1.dsc a563212daba5a671fe8dd8a68cccd66b155cdd6b 25048 node-htmlparser2_3.9.2.orig.tar.gz 62f29fa15dd22aba91aecdf973e0cfd741d674dc 2836 node-htmlparser2_3.9.2-1.debian.tar.xz 33f74baa6378efc16bc0b6187e3a1a96631ece54 9178 node-htmlparser2_3.9.2-1_source.buildinfo Checksums-Sha256: 9b0f0ca30625a61bad1b0e74cb84355b61aadcf860c14eb761f8ef4a1b9ffc15 2262 node-htmlparser2_3.9.2-1.dsc 90005471a6fe6707da584b6cacb2ba80e2935ae343457c83d50d31bdf1095106 25048 node-htmlparser2_3.9.2.orig.tar.gz ca599a7858ac0a2f14bced474a32aec68620f0f040fb249a598b4b9b625675a2 2836 node-htmlparser2_3.9.2-1.debian.tar.xz be5c1e4003188e885f5217643ec3b859dafda0424e467289b75da80ad8b7e91d 9178 node-htmlparser2_3.9.2-1_source.buildinfo Files: bf44f033a3b37a7812aa5f493f04fc92 2262 web optional node-htmlparser2_3.9.2-1.dsc 6ea57d76dc6f764a4334ceb1ac260cf0 25048 web optional node-htmlparser2_3.9.2.orig.tar.gz 396031176e534c763cb0b616c58053dc 2836 web optional node-htmlparser2_3.9.2-1.debian.tar.xz 4713913dff8104beffc40b943aadcbee 9178 web optional node-htmlparser2_3.9.2-1_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKnl0ri/BUtd4Z9pKzh+cZ0USwioFAlmy2UUACgkQzh+cZ0US wirLuQ/9E5vhgiNRgHNORy3CV0tfEliT4Vd1/nBWUEI31x9IXCCBZyK95mZ+TdNj yZxYYpqXAjDi4qJJf8oSVPon4FFH1YVCFITsQAO+9YAhzzNbcgC191Q7CumJ4ZDs bPKkOwjOWFPjBiBXy5zWSiGlcVkUEaY3vGXM3DhhEMum/BIw6TqzrJ10TastsLs5 z4WZZqeO24UK5dw+Bpgdvn3ujSKuHkutmWbOuTX8bbjBFMvt1aBn8di24sLY9ajg jVJM15YJ1zy3nIvhoQ/CxGc8Tv+JVHe0iTnwzN+FN2NV5Xj2hrOPwnQQubiD9X6a tIRiR4Vg39uNsT9gPsRyXV2JlpDkavcVL9C2Yy6QBAHnv8i/788TfuOQpXvu0wRu ft5SanTqjf2lOkb/VSms1CIQjxhluvHQrTi8cKidQjlYGyZAhb3YEpe7WY1a4VlD pEaN/Uz79uP2vFHJbOcA5u/65klWAWP9RWUtUWITMee1jfmlvvTdUBdAYO4yoJGH ey6AaqFX01cCnfB0tLrwwZmngU1mhahVf4eqo98PV8ziXGJYzE0BVQbno5/Po3Y9 03KoRtLYg8aYZ2x2T3TtGz3euybhPcOciyENyx1802mJGjEWKXVdxHkqaUA3+Dag VwC2Qyads86Sd4VZLW/AOFmS0RWJbqmwa2Y7MEVy7YkUfA9yfig= =h3cN -----END PGP SIGNATURE-----
--- End Message ---

