applied esformatter and updated package dependencies