Le 26/10/2020 à 20:50, Paolo Greppi a écrit : > Hi Xavier, > > Il 26/10/20 20:24, Xavier ha scritto: >> Le 26/10/2020 à 15:28, ano...@users.sourceforge.net a écrit : >>> ... >> >> Hi JS Team, >> >> yarnpkg is not in testing due to babel problems. Do you agree to >> dicrease severity of this bug to allow mkdirp transition (or reassign >> this bug to node-yarnpkg) ? >> >> Cheers, >> Xavier >> > > I think this should be reassigned to node-yarnpkg and then escalated to > upstream > I volunteer to do the second part. > > Paolo
Done, thanks! migration from mkdirp 0.53 to 1.0.x is easy but I'm not able to patch yarnpkg since build already fails for some babel reasons. How to do migration: 1. replace any mkdirp( path <, mode>, function(err) { if(err) throw err; /* MAIN FUNCTION *> }) by: mkdirp( path <, mode> ).then( () => { /* MAIN FUNCTION */ }).catch( (err) => { throw err }) 2. replace any mkdirp( path <, mode>, callback ) by mkdirp( path <, mode> ).then( () => { callback() }).catch( (err) => { callback(err) })