Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BREAKING(path): remove separator.ts files #4260

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading