@reliverse/pathkit 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/delete-me.d.ts +1 -0
- package/bin/delete-me.js +1 -0
- package/bin/mod.d.ts +4 -4
- package/bin/mod.js +4 -4
- package/bin/pathkit-impl/{args-impl.d.ts → impl.d.ts} +1 -1
- package/bin/pathkit-impl/{args-impl.js → impl.js} +2 -2
- package/bin/pathkit-impl/{_path.js → internal/path.js} +3 -1
- package/bin/pathkit-impl/{args-utils.js → utils.js} +2 -2
- package/package.json +1 -1
- /package/bin/pathkit-impl/{_path.d.ts → internal/path.d.ts} +0 -0
- /package/bin/pathkit-impl/{_internal.d.ts → internal/win.d.ts} +0 -0
- /package/bin/pathkit-impl/{_internal.js → internal/win.js} +0 -0
- /package/bin/pathkit-impl/{args-utils.d.ts → utils.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const deleteMe = "delete-me";
|
package/bin/delete-me.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const deleteMe = "delete-me";
|
package/bin/mod.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PlatformPath } from "node:path";
|
|
2
|
-
import {
|
|
3
|
-
import { sep, normalize, join, resolve, normalizeString, isAbsolute, toNamespacedPath, extname, relative, dirname, format, basename, parse } from "./pathkit-impl/
|
|
4
|
-
import {
|
|
5
|
-
import { normalizeAliases, resolveAlias, reverseResolveAlias, filename } from "./pathkit-impl/
|
|
2
|
+
import { delimiter, posix, win32 } from "./pathkit-impl/impl.js";
|
|
3
|
+
import { sep, normalize, join, resolve, normalizeString, isAbsolute, toNamespacedPath, extname, relative, dirname, format, basename, parse } from "./pathkit-impl/internal/path.js";
|
|
4
|
+
import { normalizeWindowsPath } from "./pathkit-impl/internal/win.js";
|
|
5
|
+
import { normalizeAliases, resolveAlias, reverseResolveAlias, filename } from "./pathkit-impl/utils.js";
|
|
6
6
|
type ParsedPath = {
|
|
7
7
|
root: string;
|
|
8
8
|
dir: string;
|
package/bin/mod.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { delimiter, posix, win32 } from "./pathkit-impl/impl.js";
|
|
2
2
|
import {
|
|
3
3
|
sep,
|
|
4
4
|
normalize,
|
|
@@ -13,14 +13,14 @@ import {
|
|
|
13
13
|
format,
|
|
14
14
|
basename,
|
|
15
15
|
parse
|
|
16
|
-
} from "./pathkit-impl/
|
|
17
|
-
import {
|
|
16
|
+
} from "./pathkit-impl/internal/path.js";
|
|
17
|
+
import { normalizeWindowsPath } from "./pathkit-impl/internal/win.js";
|
|
18
18
|
import {
|
|
19
19
|
normalizeAliases,
|
|
20
20
|
resolveAlias,
|
|
21
21
|
reverseResolveAlias,
|
|
22
22
|
filename
|
|
23
|
-
} from "./pathkit-impl/
|
|
23
|
+
} from "./pathkit-impl/utils.js";
|
|
24
24
|
export {
|
|
25
25
|
basename,
|
|
26
26
|
delimiter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as _path from "./
|
|
2
|
-
export * from "./
|
|
1
|
+
import * as _path from "./internal/path.js";
|
|
2
|
+
export * from "./internal/path.js";
|
|
3
3
|
export const delimiter = /* @__PURE__ */ (() => globalThis.process?.platform === "win32" ? ";" : ":")();
|
|
4
4
|
const _platforms = { posix: void 0, win32: void 0 };
|
|
5
5
|
const mix = (del = delimiter) => {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { deleteMe } from "../../delete-me.js";
|
|
2
|
+
import { normalizeWindowsPath } from "./win.js";
|
|
2
3
|
const _UNC_REGEX = /^[/\\]{2}/;
|
|
3
4
|
const _IS_ABSOLUTE_RE = /^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;
|
|
4
5
|
const _DRIVE_LETTER_RE = /^[A-Za-z]:$/;
|
|
@@ -204,3 +205,4 @@ export const parse = (p) => {
|
|
|
204
205
|
name: base.slice(0, base.length - extension.length)
|
|
205
206
|
};
|
|
206
207
|
};
|
|
208
|
+
console.log("deleteMe", deleteMe);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { join } from "./internal/path.js";
|
|
2
|
+
import { normalizeWindowsPath } from "./internal/win.js";
|
|
3
3
|
const pathSeparators = /* @__PURE__ */ new Set(["/", "\\", void 0]);
|
|
4
4
|
const normalizedAliasSymbol = Symbol.for("pathkit:normalizedAlias");
|
|
5
5
|
const SLASH_RE = /[/\\]/;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|