@reliverse/pathkit 1.0.0 → 1.0.1
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/mod.d.ts +32 -4
- package/bin/mod.js +46 -4
- package/package.json +1 -1
package/bin/mod.d.ts
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { normalizeWindowsPath } from "./pathkit-impl/_internal.js";
|
|
2
|
+
import { sep, normalize, join, resolve, normalizeString, isAbsolute, toNamespacedPath, extname, relative, dirname, format, basename, parse } from "./pathkit-impl/_path.js";
|
|
3
|
+
import { delimiter, posix, win32 } from "./pathkit-impl/args-impl.js";
|
|
4
|
+
import { normalizeAliases, resolveAlias, reverseResolveAlias, filename } from "./pathkit-impl/args-utils.js";
|
|
5
|
+
export { delimiter, posix, win32 };
|
|
6
|
+
export { normalizeAliases, resolveAlias, reverseResolveAlias, filename };
|
|
7
|
+
export { normalizeWindowsPath };
|
|
8
|
+
export { sep, normalize, join, resolve, normalizeString, isAbsolute, toNamespacedPath, extname, relative, dirname, format, basename, parse, };
|
|
9
|
+
declare const pathkit: {
|
|
10
|
+
delimiter: ":" | ";";
|
|
11
|
+
posix: import("path").PlatformPath;
|
|
12
|
+
win32: import("path").PlatformPath;
|
|
13
|
+
normalizeAliases: typeof normalizeAliases;
|
|
14
|
+
resolveAlias: typeof resolveAlias;
|
|
15
|
+
reverseResolveAlias: typeof reverseResolveAlias;
|
|
16
|
+
filename: typeof filename;
|
|
17
|
+
normalizeWindowsPath: typeof normalizeWindowsPath;
|
|
18
|
+
sep: string;
|
|
19
|
+
normalize: any;
|
|
20
|
+
join: any;
|
|
21
|
+
resolve: any;
|
|
22
|
+
normalizeString: typeof normalizeString;
|
|
23
|
+
isAbsolute: any;
|
|
24
|
+
toNamespacedPath: any;
|
|
25
|
+
extname: any;
|
|
26
|
+
relative: any;
|
|
27
|
+
dirname: any;
|
|
28
|
+
format: any;
|
|
29
|
+
basename: any;
|
|
30
|
+
parse: any;
|
|
31
|
+
};
|
|
32
|
+
export default pathkit;
|
package/bin/mod.js
CHANGED
|
@@ -1,11 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { normalizeWindowsPath } from "./pathkit-impl/_internal.js";
|
|
2
|
+
import {
|
|
3
|
+
sep,
|
|
4
|
+
normalize,
|
|
5
|
+
join,
|
|
6
|
+
resolve,
|
|
7
|
+
normalizeString,
|
|
8
|
+
isAbsolute,
|
|
9
|
+
toNamespacedPath,
|
|
10
|
+
extname,
|
|
11
|
+
relative,
|
|
12
|
+
dirname,
|
|
13
|
+
format,
|
|
14
|
+
basename,
|
|
15
|
+
parse
|
|
16
|
+
} from "./pathkit-impl/_path.js";
|
|
17
|
+
import { delimiter, posix, win32 } from "./pathkit-impl/args-impl.js";
|
|
18
|
+
import {
|
|
3
19
|
normalizeAliases,
|
|
4
20
|
resolveAlias,
|
|
5
21
|
reverseResolveAlias,
|
|
6
22
|
filename
|
|
7
23
|
} from "./pathkit-impl/args-utils.js";
|
|
8
|
-
export {
|
|
24
|
+
export { delimiter, posix, win32 };
|
|
25
|
+
export { normalizeAliases, resolveAlias, reverseResolveAlias, filename };
|
|
26
|
+
export { normalizeWindowsPath };
|
|
9
27
|
export {
|
|
10
28
|
sep,
|
|
11
29
|
normalize,
|
|
@@ -20,4 +38,28 @@ export {
|
|
|
20
38
|
format,
|
|
21
39
|
basename,
|
|
22
40
|
parse
|
|
23
|
-
}
|
|
41
|
+
};
|
|
42
|
+
const pathkit = {
|
|
43
|
+
delimiter,
|
|
44
|
+
posix,
|
|
45
|
+
win32,
|
|
46
|
+
normalizeAliases,
|
|
47
|
+
resolveAlias,
|
|
48
|
+
reverseResolveAlias,
|
|
49
|
+
filename,
|
|
50
|
+
normalizeWindowsPath,
|
|
51
|
+
sep,
|
|
52
|
+
normalize,
|
|
53
|
+
join,
|
|
54
|
+
resolve,
|
|
55
|
+
normalizeString,
|
|
56
|
+
isAbsolute,
|
|
57
|
+
toNamespacedPath,
|
|
58
|
+
extname,
|
|
59
|
+
relative,
|
|
60
|
+
dirname,
|
|
61
|
+
format,
|
|
62
|
+
basename,
|
|
63
|
+
parse
|
|
64
|
+
};
|
|
65
|
+
export default pathkit;
|