Releases: rhysd/dirname-filename-esm
Releases · rhysd/dirname-filename-esm
v1.1.2
- Fix the return value of
dirname
when import.meta.url
does not exist. Now both dirname
and filename
return an empty string in the case.
v1.1.1
- Fix
import.meta.url
might not exist.
v1.1.0
- Add TypeScript support
- Use tree shaking friendly import statements
v1.0.2
- Update repository URLs in package.json (#2)
v1.0.1
- Use
fileURLToPath
instead of parsing URL and getting pathname
part (#1)