Skip to content

v2.0.0

@balupton balupton tagged this 03 Sep 03:36
-   Breaking Changes: Return signature changed to a named tuple
    -   Change `const { __filename, __dirname } = filedirname()` to `const [ __filename, __dirname ] = filedirname()`
-   Now also compatible with CommonJS environments
-   Introduced `filedirnameFromPath(path: string)`, `filedirnameFromError(error: Error)`, `filedirnameFromCaller()`
-   Overloaded the default `filedirname` export, to support each of the above
-   Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation)
Assets 2
Loading