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

Pirate Praveen praveen at onenetbeyond.org
Wed Jun 30 14:40:57 BST 2021


On Tue, 29 Jun 2021 23:54:30 +0530 Pirate Praveen 
<praveen at onenetbeyond.org> wrote:
 > I can confirm libjs-autosize from buster works fine with diaspora.
 >
 > Buster version has this,
 >
 > (function (global, factory) {
 > if (typeof define === "function" && define.amd) {
 >   define(['module', 'exports'], factory);
 >
 > But bullseye version is missing definition for module,
 >
 > (function (global, factory) {
 > if (typeof define === "function" && define.amd) {
 >   define(["exports"], factory);

Akshay,

Any ideas about this? Basically it is a behavior change from babel 6 to 
babel 7 and we'd like to restore the babel 6 behavior.



More information about the Pkg-javascript-devel mailing list