docs(path): add note about unstable-join (#5967)

This commit is contained in:
Yoshiya Hinosawa 2024-09-12 19:41:45 +09:00 committed by GitHub
parent c5d7930d57
commit d35803f4f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 0 deletions

View File

@ -20,6 +20,9 @@ import { join as windowsJoin } from "./windows/join.ts";
* }
* ```
*
* Note: If you are working with file URLs,
* use the new version of `join` from `@std/path/unstable-join`.
*
* @param paths Paths to be joined and normalized.
* @returns The joined and normalized path.
*/

View File

@ -16,6 +16,9 @@ import { normalize } from "./normalize.ts";
* assertEquals(path, "/foo/bar/baz/asdf");
* ```
*
* Note: If you are working with file URLs,
* use the new version of `join` from `@std/path/posix/unstable-join`.
*
* @param paths The paths to join.
* @returns The joined path.
*/

View File

@ -17,6 +17,9 @@ import { normalize } from "./normalize.ts";
* assertEquals(joined, "C:\\foo\\bar");
* ```
*
* Note: If you are working with file URLs,
* use the new version of `join` from `@std/path/windows/unstable-join`.
*
* @param paths The paths to join.
* @returns The joined path.
*/