@bemoje/path 1.0.1 → 1.1.0

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.
Files changed (67) hide show
  1. package/lib/index.cjs +110 -0
  2. package/lib/index.d.cts +16 -0
  3. package/lib/index.d.ts +16 -0
  4. package/lib/index.js +15 -0
  5. package/lib/lib/cwd.cjs +16 -0
  6. package/lib/lib/cwd.d.cts +11 -0
  7. package/lib/lib/cwd.d.ts +11 -0
  8. package/lib/lib/cwd.js +9 -0
  9. package/lib/lib/dirnameDeep.cjs +17 -0
  10. package/lib/lib/dirnameDeep.d.cts +9 -0
  11. package/lib/lib/dirnameDeep.d.ts +9 -0
  12. package/lib/lib/dirnameDeep.js +10 -0
  13. package/lib/lib/hasBasename.cjs +18 -0
  14. package/lib/lib/hasBasename.d.cts +8 -0
  15. package/lib/lib/hasBasename.d.ts +8 -0
  16. package/lib/lib/hasBasename.js +11 -0
  17. package/lib/lib/hasExtname.cjs +37 -0
  18. package/lib/lib/hasExtname.d.cts +15 -0
  19. package/lib/lib/hasExtname.d.ts +15 -0
  20. package/lib/lib/hasExtname.js +34 -0
  21. package/lib/lib/hasParentDirname.cjs +10 -0
  22. package/lib/lib/hasParentDirname.d.cts +6 -0
  23. package/lib/lib/hasParentDirname.d.ts +6 -0
  24. package/lib/lib/hasParentDirname.js +8 -0
  25. package/lib/lib/isDotFile.cjs +10 -0
  26. package/lib/lib/isDotFile.d.cts +8 -0
  27. package/lib/lib/isDotFile.d.ts +8 -0
  28. package/lib/lib/isDotFile.js +8 -0
  29. package/lib/lib/isExtValid.cjs +10 -0
  30. package/lib/lib/isExtValid.d.cts +13 -0
  31. package/lib/lib/isExtValid.d.ts +13 -0
  32. package/lib/lib/isExtValid.js +8 -0
  33. package/lib/lib/isRelative.cjs +16 -0
  34. package/lib/lib/isRelative.d.cts +6 -0
  35. package/lib/lib/isRelative.d.ts +6 -0
  36. package/lib/lib/isRelative.js +9 -0
  37. package/lib/lib/isUnc.cjs +10 -0
  38. package/lib/lib/isUnc.d.cts +8 -0
  39. package/lib/lib/isUnc.d.ts +8 -0
  40. package/lib/lib/isUnc.js +8 -0
  41. package/lib/lib/isValidWin32.cjs +27 -0
  42. package/lib/lib/isValidWin32.d.cts +11 -0
  43. package/lib/lib/isValidWin32.d.ts +11 -0
  44. package/lib/lib/isValidWin32.js +25 -0
  45. package/lib/lib/prefixFilename.cjs +18 -0
  46. package/lib/lib/prefixFilename.d.cts +11 -0
  47. package/lib/lib/prefixFilename.d.ts +11 -0
  48. package/lib/lib/prefixFilename.js +11 -0
  49. package/lib/lib/root.cjs +16 -0
  50. package/lib/lib/root.d.cts +6 -0
  51. package/lib/lib/root.d.ts +6 -0
  52. package/lib/lib/root.js +9 -0
  53. package/lib/lib/suffixFilename.cjs +18 -0
  54. package/lib/lib/suffixFilename.d.cts +11 -0
  55. package/lib/lib/suffixFilename.d.ts +11 -0
  56. package/lib/lib/suffixFilename.js +11 -0
  57. package/lib/lib/toCwdRelative.cjs +16 -0
  58. package/lib/lib/toCwdRelative.d.cts +8 -0
  59. package/lib/lib/toCwdRelative.d.ts +8 -0
  60. package/lib/lib/toCwdRelative.js +9 -0
  61. package/lib/lib/toWin32.cjs +10 -0
  62. package/lib/lib/toWin32.d.cts +6 -0
  63. package/lib/lib/toWin32.d.ts +6 -0
  64. package/lib/lib/toWin32.js +8 -0
  65. package/package.json +249 -19
  66. package/index.d.ts +0 -121
  67. package/index.mjs +0 -153
@@ -0,0 +1,27 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function isValidWin32(path, options) {
6
+ if (path.length === 0) {
7
+ return false;
8
+ }
9
+ if (path.includes("/") && path.includes("\\")) {
10
+ return false;
11
+ }
12
+ const maxLength = (options && options.extendedMaxLength ? 32767 : 260) - 12;
13
+ if (path.length > maxLength) {
14
+ return false;
15
+ }
16
+ const noDriveLetter = /^\w:(\\|\/)/g.test(path) ? path.substring(2) : path;
17
+ if (/["*:<>?|]/g.test(noDriveLetter)) {
18
+ return false;
19
+ }
20
+ if (/(\\|\/)(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])((\\|\/)|$)/g.test(path)) {
21
+ return false;
22
+ }
23
+ return true;
24
+ }
25
+ __name(isValidWin32, "isValidWin32");
26
+
27
+ exports.isValidWin32 = isValidWin32;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Check whether a provided windows filesystem path string is valid according to:
3
+ * https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
4
+ * @param path The path to validate.
5
+ * @throws If the path is invalid and the `assert` option is true.
6
+ */
7
+ declare function isValidWin32(path: string, options?: {
8
+ extendedMaxLength?: boolean;
9
+ }): boolean;
10
+
11
+ export { isValidWin32 };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Check whether a provided windows filesystem path string is valid according to:
3
+ * https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx
4
+ * @param path The path to validate.
5
+ * @throws If the path is invalid and the `assert` option is true.
6
+ */
7
+ declare function isValidWin32(path: string, options?: {
8
+ extendedMaxLength?: boolean;
9
+ }): boolean;
10
+
11
+ export { isValidWin32 };
@@ -0,0 +1,25 @@
1
+ import { __name } from '../chunk-SHUYVCID.js';
2
+
3
+ function isValidWin32(path, options) {
4
+ if (path.length === 0) {
5
+ return false;
6
+ }
7
+ if (path.includes("/") && path.includes("\\")) {
8
+ return false;
9
+ }
10
+ const maxLength = (options && options.extendedMaxLength ? 32767 : 260) - 12;
11
+ if (path.length > maxLength) {
12
+ return false;
13
+ }
14
+ const noDriveLetter = /^\w:(\\|\/)/g.test(path) ? path.substring(2) : path;
15
+ if (/["*:<>?|]/g.test(noDriveLetter)) {
16
+ return false;
17
+ }
18
+ if (/(\\|\/)(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])((\\|\/)|$)/g.test(path)) {
19
+ return false;
20
+ }
21
+ return true;
22
+ }
23
+ __name(isValidWin32, "isValidWin32");
24
+
25
+ export { isValidWin32 };
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var upath = require('upath');
4
+
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
+
7
+ var upath__default = /*#__PURE__*/_interopDefault(upath);
8
+
9
+ var __defProp = Object.defineProperty;
10
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
11
+ function prefixFilename(filePath, prefix) {
12
+ const ext = upath__default.default.extname(filePath);
13
+ const fileNameWithoutExt = upath__default.default.basename(filePath, ext);
14
+ return upath__default.default.joinSafe(upath__default.default.dirname(filePath), prefix + fileNameWithoutExt + ext);
15
+ }
16
+ __name(prefixFilename, "prefixFilename");
17
+
18
+ exports.prefixFilename = prefixFilename;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Append string to the beginning of the filename.
3
+ *
4
+ * @example ```ts
5
+ * path.fileNameWithPrefix('path/to/file-name.ext', 'new-')
6
+ * // => path/to/new-file-name.ext
7
+ * ```
8
+ */
9
+ declare function prefixFilename(filePath: string, prefix: string): string;
10
+
11
+ export { prefixFilename };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Append string to the beginning of the filename.
3
+ *
4
+ * @example ```ts
5
+ * path.fileNameWithPrefix('path/to/file-name.ext', 'new-')
6
+ * // => path/to/new-file-name.ext
7
+ * ```
8
+ */
9
+ declare function prefixFilename(filePath: string, prefix: string): string;
10
+
11
+ export { prefixFilename };
@@ -0,0 +1,11 @@
1
+ import { __name } from '../chunk-SHUYVCID.js';
2
+ import upath from 'upath';
3
+
4
+ function prefixFilename(filePath, prefix) {
5
+ const ext = upath.extname(filePath);
6
+ const fileNameWithoutExt = upath.basename(filePath, ext);
7
+ return upath.joinSafe(upath.dirname(filePath), prefix + fileNameWithoutExt + ext);
8
+ }
9
+ __name(prefixFilename, "prefixFilename");
10
+
11
+ export { prefixFilename };
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var upath = require('upath');
4
+
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
+
7
+ var upath__default = /*#__PURE__*/_interopDefault(upath);
8
+
9
+ var __defProp = Object.defineProperty;
10
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
11
+ function root(p) {
12
+ return upath__default.default.parse(p).root;
13
+ }
14
+ __name(root, "root");
15
+
16
+ exports.root = root;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Returns the root directory of a given path.
3
+ */
4
+ declare function root(p: string): string;
5
+
6
+ export { root };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Returns the root directory of a given path.
3
+ */
4
+ declare function root(p: string): string;
5
+
6
+ export { root };
@@ -0,0 +1,9 @@
1
+ import { __name } from '../chunk-SHUYVCID.js';
2
+ import upath from 'upath';
3
+
4
+ function root(p) {
5
+ return upath.parse(p).root;
6
+ }
7
+ __name(root, "root");
8
+
9
+ export { root };
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var upath = require('upath');
4
+
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
+
7
+ var upath__default = /*#__PURE__*/_interopDefault(upath);
8
+
9
+ var __defProp = Object.defineProperty;
10
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
11
+ function suffixFilename(filePath, suffix) {
12
+ const split = upath__default.default.basename(filePath).split(".");
13
+ split[0] += suffix;
14
+ return upath__default.default.joinSafe(upath__default.default.dirname(filePath), split.join("."));
15
+ }
16
+ __name(suffixFilename, "suffixFilename");
17
+
18
+ exports.suffixFilename = suffixFilename;
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Append string to the end of the filename.
3
+ *
4
+ * @example ```ts
5
+ * path.suffixFilename('path/to/file-name.ext', '-old')
6
+ * // => path/to/file-name-old.ext
7
+ * ```
8
+ */
9
+ declare function suffixFilename(filePath: string, suffix: string): string;
10
+
11
+ export { suffixFilename };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Append string to the end of the filename.
3
+ *
4
+ * @example ```ts
5
+ * path.suffixFilename('path/to/file-name.ext', '-old')
6
+ * // => path/to/file-name-old.ext
7
+ * ```
8
+ */
9
+ declare function suffixFilename(filePath: string, suffix: string): string;
10
+
11
+ export { suffixFilename };
@@ -0,0 +1,11 @@
1
+ import { __name } from '../chunk-SHUYVCID.js';
2
+ import upath from 'upath';
3
+
4
+ function suffixFilename(filePath, suffix) {
5
+ const split = upath.basename(filePath).split(".");
6
+ split[0] += suffix;
7
+ return upath.joinSafe(upath.dirname(filePath), split.join("."));
8
+ }
9
+ __name(suffixFilename, "suffixFilename");
10
+
11
+ export { suffixFilename };
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ var upath = require('upath');
4
+
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
6
+
7
+ var upath__default = /*#__PURE__*/_interopDefault(upath);
8
+
9
+ var __defProp = Object.defineProperty;
10
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
11
+ function toCwdRelative(p) {
12
+ return upath__default.default.relative(process.cwd(), p);
13
+ }
14
+ __name(toCwdRelative, "toCwdRelative");
15
+
16
+ exports.toCwdRelative = toCwdRelative;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Solve the relative path from the process.cwd() path to the {p} path.
3
+ * At times we have two absolute paths, and we need to derive the relative path from one to the other.
4
+ * This is actually the reverse transform of path.resolve.
5
+ */
6
+ declare function toCwdRelative(p: string): string;
7
+
8
+ export { toCwdRelative };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Solve the relative path from the process.cwd() path to the {p} path.
3
+ * At times we have two absolute paths, and we need to derive the relative path from one to the other.
4
+ * This is actually the reverse transform of path.resolve.
5
+ */
6
+ declare function toCwdRelative(p: string): string;
7
+
8
+ export { toCwdRelative };
@@ -0,0 +1,9 @@
1
+ import { __name } from '../chunk-SHUYVCID.js';
2
+ import upath from 'upath';
3
+
4
+ function toCwdRelative(p) {
5
+ return upath.relative(process.cwd(), p);
6
+ }
7
+ __name(toCwdRelative, "toCwdRelative");
8
+
9
+ export { toCwdRelative };
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
5
+ function toWin32(p) {
6
+ return p.replaceAll("/", "\\");
7
+ }
8
+ __name(toWin32, "toWin32");
9
+
10
+ exports.toWin32 = toWin32;
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Ensures win32 backslashes are used instead of forward slashes.
3
+ */
4
+ declare function toWin32(p: string): string;
5
+
6
+ export { toWin32 };
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Ensures win32 backslashes are used instead of forward slashes.
3
+ */
4
+ declare function toWin32(p: string): string;
5
+
6
+ export { toWin32 };
@@ -0,0 +1,8 @@
1
+ import { __name } from '../chunk-SHUYVCID.js';
2
+
3
+ function toWin32(p) {
4
+ return p.replaceAll("/", "\\");
5
+ }
6
+ __name(toWin32, "toWin32");
7
+
8
+ export { toWin32 };
package/package.json CHANGED
@@ -1,35 +1,265 @@
1
1
  {
2
2
  "name": "@bemoje/path",
3
- "version": "1.0.1",
4
- "description": "path",
5
- "type": "module",
6
- "sideEffects": false,
3
+ "version": "1.1.0",
4
+ "description": "Cross-platform path utilities extending upath with validation, manipulation, and inspection helpers.",
7
5
  "keywords": [
8
- "path"
6
+ "path",
7
+ "cross-platform",
8
+ "upath",
9
+ "validation",
10
+ "manipulation",
11
+ "inspection",
12
+ "utilities",
13
+ "typescript"
9
14
  ],
10
- "exports": {
11
- ".": {
12
- "types": "./index.d.ts",
13
- "import": "./index.mjs",
14
- "default": "./index.mjs"
15
- }
16
- },
17
15
  "dependencies": {
18
- "type-fest": "^5.4.4",
19
16
  "upath": "^2.0.1"
20
17
  },
18
+ "type": "module",
19
+ "sideEffects": false,
21
20
  "publishConfig": {
22
21
  "access": "public"
23
22
  },
24
- "license": "MIT",
25
- "author": {
26
- "name": "Benjamin Møller Jensen",
27
- "email": "bemoje@bemoje.net",
28
- "url": "https://github.com/bemoje/"
23
+ "main": "./lib/index.cjs",
24
+ "module": "./lib/index.js",
25
+ "types": "./lib/index.d.ts",
26
+ "exports": {
27
+ ".": {
28
+ "import": {
29
+ "types": "./lib/index.d.ts",
30
+ "default": "./lib/index.js"
31
+ },
32
+ "require": {
33
+ "types": "./lib/index.d.cts",
34
+ "default": "./lib/index.cjs"
35
+ }
36
+ },
37
+ "./lib/cwd": {
38
+ "import": {
39
+ "types": "./lib/lib/cwd.d.ts",
40
+ "default": "./lib/lib/cwd.js"
41
+ },
42
+ "require": {
43
+ "types": "./lib/lib/cwd.d.cts",
44
+ "default": "./lib/lib/cwd.cjs"
45
+ }
46
+ },
47
+ "./lib/dirnameDeep": {
48
+ "import": {
49
+ "types": "./lib/lib/dirnameDeep.d.ts",
50
+ "default": "./lib/lib/dirnameDeep.js"
51
+ },
52
+ "require": {
53
+ "types": "./lib/lib/dirnameDeep.d.cts",
54
+ "default": "./lib/lib/dirnameDeep.cjs"
55
+ }
56
+ },
57
+ "./lib/hasBasename": {
58
+ "import": {
59
+ "types": "./lib/lib/hasBasename.d.ts",
60
+ "default": "./lib/lib/hasBasename.js"
61
+ },
62
+ "require": {
63
+ "types": "./lib/lib/hasBasename.d.cts",
64
+ "default": "./lib/lib/hasBasename.cjs"
65
+ }
66
+ },
67
+ "./lib/hasExtname": {
68
+ "import": {
69
+ "types": "./lib/lib/hasExtname.d.ts",
70
+ "default": "./lib/lib/hasExtname.js"
71
+ },
72
+ "require": {
73
+ "types": "./lib/lib/hasExtname.d.cts",
74
+ "default": "./lib/lib/hasExtname.cjs"
75
+ }
76
+ },
77
+ "./lib/hasParentDirname": {
78
+ "import": {
79
+ "types": "./lib/lib/hasParentDirname.d.ts",
80
+ "default": "./lib/lib/hasParentDirname.js"
81
+ },
82
+ "require": {
83
+ "types": "./lib/lib/hasParentDirname.d.cts",
84
+ "default": "./lib/lib/hasParentDirname.cjs"
85
+ }
86
+ },
87
+ "./lib/isDotFile": {
88
+ "import": {
89
+ "types": "./lib/lib/isDotFile.d.ts",
90
+ "default": "./lib/lib/isDotFile.js"
91
+ },
92
+ "require": {
93
+ "types": "./lib/lib/isDotFile.d.cts",
94
+ "default": "./lib/lib/isDotFile.cjs"
95
+ }
96
+ },
97
+ "./lib/isExtValid": {
98
+ "import": {
99
+ "types": "./lib/lib/isExtValid.d.ts",
100
+ "default": "./lib/lib/isExtValid.js"
101
+ },
102
+ "require": {
103
+ "types": "./lib/lib/isExtValid.d.cts",
104
+ "default": "./lib/lib/isExtValid.cjs"
105
+ }
106
+ },
107
+ "./lib/isRelative": {
108
+ "import": {
109
+ "types": "./lib/lib/isRelative.d.ts",
110
+ "default": "./lib/lib/isRelative.js"
111
+ },
112
+ "require": {
113
+ "types": "./lib/lib/isRelative.d.cts",
114
+ "default": "./lib/lib/isRelative.cjs"
115
+ }
116
+ },
117
+ "./lib/isUnc": {
118
+ "import": {
119
+ "types": "./lib/lib/isUnc.d.ts",
120
+ "default": "./lib/lib/isUnc.js"
121
+ },
122
+ "require": {
123
+ "types": "./lib/lib/isUnc.d.cts",
124
+ "default": "./lib/lib/isUnc.cjs"
125
+ }
126
+ },
127
+ "./lib/isValidWin32": {
128
+ "import": {
129
+ "types": "./lib/lib/isValidWin32.d.ts",
130
+ "default": "./lib/lib/isValidWin32.js"
131
+ },
132
+ "require": {
133
+ "types": "./lib/lib/isValidWin32.d.cts",
134
+ "default": "./lib/lib/isValidWin32.cjs"
135
+ }
136
+ },
137
+ "./lib/prefixFilename": {
138
+ "import": {
139
+ "types": "./lib/lib/prefixFilename.d.ts",
140
+ "default": "./lib/lib/prefixFilename.js"
141
+ },
142
+ "require": {
143
+ "types": "./lib/lib/prefixFilename.d.cts",
144
+ "default": "./lib/lib/prefixFilename.cjs"
145
+ }
146
+ },
147
+ "./lib/root": {
148
+ "import": {
149
+ "types": "./lib/lib/root.d.ts",
150
+ "default": "./lib/lib/root.js"
151
+ },
152
+ "require": {
153
+ "types": "./lib/lib/root.d.cts",
154
+ "default": "./lib/lib/root.cjs"
155
+ }
156
+ },
157
+ "./lib/suffixFilename": {
158
+ "import": {
159
+ "types": "./lib/lib/suffixFilename.d.ts",
160
+ "default": "./lib/lib/suffixFilename.js"
161
+ },
162
+ "require": {
163
+ "types": "./lib/lib/suffixFilename.d.cts",
164
+ "default": "./lib/lib/suffixFilename.cjs"
165
+ }
166
+ },
167
+ "./lib/toCwdRelative": {
168
+ "import": {
169
+ "types": "./lib/lib/toCwdRelative.d.ts",
170
+ "default": "./lib/lib/toCwdRelative.js"
171
+ },
172
+ "require": {
173
+ "types": "./lib/lib/toCwdRelative.d.cts",
174
+ "default": "./lib/lib/toCwdRelative.cjs"
175
+ }
176
+ },
177
+ "./lib/toWin32": {
178
+ "import": {
179
+ "types": "./lib/lib/toWin32.d.ts",
180
+ "default": "./lib/lib/toWin32.js"
181
+ },
182
+ "require": {
183
+ "types": "./lib/lib/toWin32.d.cts",
184
+ "default": "./lib/lib/toWin32.cjs"
185
+ }
186
+ }
29
187
  },
188
+ "files": [
189
+ "./lib/index.js",
190
+ "./lib/index.d.ts",
191
+ "./lib/index.cjs",
192
+ "./lib/index.d.cts",
193
+ "./lib/lib/cwd.js",
194
+ "./lib/lib/cwd.d.ts",
195
+ "./lib/lib/cwd.cjs",
196
+ "./lib/lib/cwd.d.cts",
197
+ "./lib/lib/dirnameDeep.js",
198
+ "./lib/lib/dirnameDeep.d.ts",
199
+ "./lib/lib/dirnameDeep.cjs",
200
+ "./lib/lib/dirnameDeep.d.cts",
201
+ "./lib/lib/hasBasename.js",
202
+ "./lib/lib/hasBasename.d.ts",
203
+ "./lib/lib/hasBasename.cjs",
204
+ "./lib/lib/hasBasename.d.cts",
205
+ "./lib/lib/hasExtname.js",
206
+ "./lib/lib/hasExtname.d.ts",
207
+ "./lib/lib/hasExtname.cjs",
208
+ "./lib/lib/hasExtname.d.cts",
209
+ "./lib/lib/hasParentDirname.js",
210
+ "./lib/lib/hasParentDirname.d.ts",
211
+ "./lib/lib/hasParentDirname.cjs",
212
+ "./lib/lib/hasParentDirname.d.cts",
213
+ "./lib/lib/isDotFile.js",
214
+ "./lib/lib/isDotFile.d.ts",
215
+ "./lib/lib/isDotFile.cjs",
216
+ "./lib/lib/isDotFile.d.cts",
217
+ "./lib/lib/isExtValid.js",
218
+ "./lib/lib/isExtValid.d.ts",
219
+ "./lib/lib/isExtValid.cjs",
220
+ "./lib/lib/isExtValid.d.cts",
221
+ "./lib/lib/isRelative.js",
222
+ "./lib/lib/isRelative.d.ts",
223
+ "./lib/lib/isRelative.cjs",
224
+ "./lib/lib/isRelative.d.cts",
225
+ "./lib/lib/isUnc.js",
226
+ "./lib/lib/isUnc.d.ts",
227
+ "./lib/lib/isUnc.cjs",
228
+ "./lib/lib/isUnc.d.cts",
229
+ "./lib/lib/isValidWin32.js",
230
+ "./lib/lib/isValidWin32.d.ts",
231
+ "./lib/lib/isValidWin32.cjs",
232
+ "./lib/lib/isValidWin32.d.cts",
233
+ "./lib/lib/prefixFilename.js",
234
+ "./lib/lib/prefixFilename.d.ts",
235
+ "./lib/lib/prefixFilename.cjs",
236
+ "./lib/lib/prefixFilename.d.cts",
237
+ "./lib/lib/root.js",
238
+ "./lib/lib/root.d.ts",
239
+ "./lib/lib/root.cjs",
240
+ "./lib/lib/root.d.cts",
241
+ "./lib/lib/suffixFilename.js",
242
+ "./lib/lib/suffixFilename.d.ts",
243
+ "./lib/lib/suffixFilename.cjs",
244
+ "./lib/lib/suffixFilename.d.cts",
245
+ "./lib/lib/toCwdRelative.js",
246
+ "./lib/lib/toCwdRelative.d.ts",
247
+ "./lib/lib/toCwdRelative.cjs",
248
+ "./lib/lib/toCwdRelative.d.cts",
249
+ "./lib/lib/toWin32.js",
250
+ "./lib/lib/toWin32.d.ts",
251
+ "./lib/lib/toWin32.cjs",
252
+ "./lib/lib/toWin32.d.cts"
253
+ ],
30
254
  "repository": {
31
255
  "type": "git",
32
256
  "url": "git+https://github.com/bemoje/mono.git",
33
257
  "directory": "libs/path"
34
- }
258
+ },
259
+ "author": {
260
+ "name": "Benjamin Møller Jensen",
261
+ "email": "bemoje@bemoje.net",
262
+ "url": "https://github.com/bemoje/"
263
+ },
264
+ "license": "MIT"
35
265
  }