file-path-helper 2.0.0 → 2.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/CHANGELOG.md +7 -2
- package/index.d.ts +3 -0
- package/package.json +1 -1
- package/src/file.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
-
## 2.0.
|
|
10
|
+
## 2.0.1 - 2026-03-17
|
|
11
|
+
|
|
12
|
+
- update ts index
|
|
13
|
+
|
|
14
|
+
## [2.0.0] - 2026-03-17
|
|
11
15
|
|
|
12
16
|
- Convert to ESM module system.
|
|
13
17
|
- Deprecated `globPromise` method. use `glob` instead.
|
|
@@ -65,7 +69,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
65
69
|
|
|
66
70
|
First Release!
|
|
67
71
|
|
|
68
|
-
[Unreleased]: https://github.com/archco/file-path-helper/compare/
|
|
72
|
+
[Unreleased]: https://github.com/archco/file-path-helper/compare/v2.0.0...HEAD
|
|
73
|
+
[2.0.0]: https://github.com/archco/file-path-helper/compare/v1.4.0...v2.0.0
|
|
69
74
|
[1.4.0]: https://github.com/archco/file-path-helper/compare/v1.3.0...v1.4.0
|
|
70
75
|
[1.3.0]: https://github.com/archco/file-path-helper/compare/v1.2.0...v1.3.0
|
|
71
76
|
[1.2.0]: https://github.com/archco/file-path-helper/compare/v1.1.0...v1.2.0
|
package/index.d.ts
CHANGED
|
@@ -31,12 +31,15 @@ export interface ParsedDate {
|
|
|
31
31
|
/**
|
|
32
32
|
* Glob promise.
|
|
33
33
|
*
|
|
34
|
+
* @deprecated Use `glob` directly instead.
|
|
34
35
|
* @param {string} pattern
|
|
35
36
|
* @param {GlobOptions} options
|
|
36
37
|
* @returns {Promise<string[], Error>}
|
|
37
38
|
*/
|
|
38
39
|
export function globPromise(pattern: string, options: GlobOptions): Promise<string[]>;
|
|
39
40
|
|
|
41
|
+
export { glob } from 'glob';
|
|
42
|
+
|
|
40
43
|
/**
|
|
41
44
|
* Replace directory separator.
|
|
42
45
|
*
|
package/package.json
CHANGED
package/src/file.js
CHANGED