Le 20-07-26 à 18 h 01, Pirate Praveen a écrit : > >> >> File in node-lodash unstable package: >> 4.17.19+dfsg-1 _baseOrderBy.js https://paste.debian.net/1157886/ >> I made a dirty hack to check my theory and it looks like if I patch this file by replacing 'isArray' with 'Array.IsArray' or if I append 'isArray = require('./isArray')', I'm able to build broken packages like node-babel7 or glewlwyd.
The only way I found to patch the package node-lodash is to manually change the file lodash.js here: https://salsa.debian.org/js-team/node-lodash/-/blob/master/lodash.js#L3724 and replacing 'isArray' with 'Array.IsArray'. /Nicolas