[Pkg-javascript-devel] Bug#990458: Bug#990458: Bug#990458: Bug#990458: Attaching the files from buster vs bullseye

Pirate Praveen praveen at onenetbeyond.org
Wed Jun 30 18:10:13 BST 2021



On Wed, Jun 30, 2021 at 9:44 pm, Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
> 
> 
> On Wed, Jun 30, 2021 at 9:38 pm, Pirate Praveen 
> <praveen at onenetbeyond.org> wrote:
>> Looks like we are already using the dist tarballs and does not 
>> involve any build, we can just take the latest 1.0.4 from npmjs.com.
> 
> Scratch that, the new versions use babel to build, so I think using 
> https://github.com/lijunle/babel-plugin-add-module-exports/ is the 
> best option, though the latest version tagged is 1.0.2 and latest npm 
> release is 1.0.4 (basically completely messed up release workflow).

With babel-plugin-add-module-exports 1.0.4 from the above repo,

$ diff -u autosize-current.js autosize.js
--- autosize-current.js	2021-06-30 22:30:00.391798535 +0530
+++ autosize.js	2020-12-14 17:42:45.000000000 +0530
@@ -284,5 +284,5 @@

   var _default = autosize;
   _exports["default"] = _default;
-  module.exports = exports["default"];
+  module.exports = exports.default;
 });
\ No newline at end of file

and this is working with diaspora. Thanks again for tracking down the 
issue.



More information about the Pkg-javascript-devel mailing list