Used ncu -u to upgrade dependencies in package.json and also upgraded node version to the latest LTS.
A few issues occurred:
Downgrade escape-string-regexp as it uses ESM instead of CJS in latest version, which Eleventy doesn't like
Downgrade postcss as one of its dependencies, cliui also uses ESM
Used npm-force-resolutions to override a dependency on ansi-html, which is no longer supported and has a critical vulnerability, it now points to ansi-html-community (See stackoverflow)
I need to look into how I can address the first two issues, but it'll do for now.
Used
ncu -u
to upgrade dependencies inpackage.json
and also upgraded node version to the latest LTS.A few issues occurred:
escape-string-regexp
as it uses ESM instead of CJS in latest version, which Eleventy doesn't likepostcss
as one of its dependencies,cliui
also uses ESMnpm-force-resolutions
to override a dependency onansi-html
, which is no longer supported and has a critical vulnerability, it now points toansi-html-community
(See stackoverflow)I need to look into how I can address the first two issues, but it'll do for now.