Skip to content

Commit

Permalink
BREAKING(path): remove separator.ts files (#4260)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Feb 2, 2024
1 parent f974a22 commit 654787b
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 59 deletions.
12 changes: 0 additions & 12 deletions path/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,13 @@

import * as _windows from "./windows/mod.ts";
import * as _posix from "./posix/mod.ts";
import { DELIMITER, SEPARATOR } from "./constants.ts";

/** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/path/windows/mod.ts} instead. */
export const win32: typeof _windows = _windows;

/** @deprecated (will be removed after 1.0.0) Import from {@link https://deno.land/std/posix/mod.ts} instead. */
export const posix: typeof _posix = _posix;

/**
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} instead.
*/
export const sep = SEPARATOR;

/**
* @deprecated (will be removed in 0.215.0) Use {@linkcode DELIMITER} instead.
*/
export const delimiter = DELIMITER;

export * from "./basename.ts";
export * from "./constants.ts";
export * from "./dirname.ts";
Expand All @@ -69,7 +58,6 @@ export * from "./resolve.ts";
export * from "./to_file_url.ts";
export * from "./to_namespaced_path.ts";
export * from "./common.ts";
export * from "./separator.ts";
export * from "./_interface.ts";
export * from "./glob_to_regexp.ts";
export * from "./is_glob.ts";
Expand Down
12 changes: 0 additions & 12 deletions path/posix/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@
*
* @module
*/

/**
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/posix/constants.ts} instead.
*/
export const sep = "/";

/**
* @deprecated (will be removed in 0.215.0) Use {@linkcode DELIMITER} from {@link https://deno.land/std/path/posix/constants.ts} instead.
*/
export const delimiter = "/";

export * from "./basename.ts";
export * from "./constants.ts";
export * from "./dirname.ts";
Expand All @@ -47,7 +36,6 @@ export * from "./resolve.ts";
export * from "./to_file_url.ts";
export * from "./to_namespaced_path.ts";
export * from "./common.ts";
export * from "./separator.ts";
export * from "../_interface.ts";
export * from "./glob_to_regexp.ts";
export * from "./is_glob.ts";
Expand Down
11 changes: 0 additions & 11 deletions path/posix/separator.ts

This file was deleted.

13 changes: 0 additions & 13 deletions path/separator.ts

This file was deleted.

11 changes: 0 additions & 11 deletions path/windows/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,6 @@
*
* @module
*/

/**
* @deprecated (will be removed in 0.215.0) Use {@linkcode SEPARATOR} from {@link https://deno.land/std/path/windows/constants.ts} instead.
*/
export const sep = "\\";

/**
* @deprecated (will be removed in 0.215.0) Use {@linkcode DELIMITER} from {@link https://deno.land/std/path/windows/constants.ts} instead.
*/
export const delimiter = ";";

export * from "./basename.ts";
export * from "./constants.ts";
export * from "./dirname.ts";
Expand Down

0 comments on commit 654787b

Please sign in to comment.