unjs / mlly

🤝 Common ECMAScript module utils
MIT License
471 stars 36 forks source link

fix(resolver): avoid double slashes when joining id with `/index` #278

Closed itpropro closed 1 month ago

itpropro commented 1 month ago

Should fix DEP0166 (DeprecationWarning: Use of deprecated double slash resolving...) as mentioned in

Will not fix DEP0155 (DeprecationWarning: Use of deprecated trailing slash pattern mapping "./" in the "exports" field...).

itpropro commented 1 month ago

@pi0 the test "follows symlinks" was already failing when I pulled the current version. Maybe connected to Windows?