diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-04-29 21:20:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-29 16:20:55 -0400 |
commit | b51c863550cb377f6e720bccf4f1485ed8d97222 (patch) | |
tree | b17087c22cecc21d1020c8580be712280aafa9ab /std/path/mod.ts | |
parent | 3e6ea6284178df0be4982d9775f47b47b14c6139 (diff) |
feat(std/path): Add fromFileUrl() (#4993)
Fix: URL constructor accepts a URL object which is not a base
Diffstat (limited to 'std/path/mod.ts')
-rw-r--r-- | std/path/mod.ts | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/std/path/mod.ts b/std/path/mod.ts index 402adcf00..104e0b616 100644 --- a/std/path/mod.ts +++ b/std/path/mod.ts @@ -11,19 +11,20 @@ const path = isWindows ? _win32 : _posix; export const win32 = _win32; export const posix = _posix; export const { - resolve, - normalize, - isAbsolute, - join, - relative, - toNamespacedPath, - dirname, basename, + delimiter, + dirname, extname, format, + fromFileUrl, + isAbsolute, + join, + normalize, parse, + relative, + resolve, sep, - delimiter, + toNamespacedPath, } = path; export { common } from "./common.ts"; |