@ionic/utils-fs is mostly a wrapper around fs-extra and uses a very old version of it.
Replace usages of the @ionic/utils-fs functions that were just wrappers and use the fs-extra original ones.
readdirp was not a wrapper but a @ionic/utils-fs function, so I've created a new simplified readdirp function in utils/fs that does (almost) the same but using node's readdir internally which from node 20 accepts the recursive option.
@ionic/utils-fs
is mostly a wrapper aroundfs-extra
and uses a very old version of it.Replace usages of the
@ionic/utils-fs
functions that were just wrappers and use thefs-extra
original ones.readdirp
was not a wrapper but a@ionic/utils-fs
function, so I've created a new simplifiedreaddirp
function inutils/fs
that does (almost) the same but using node'sreaddir
internally which from node 20 accepts therecursive
option.