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