@actions/glob: convert to an ESM module

This commit is contained in:
Daniel Kennedy
2026-01-28 21:10:43 -05:00
parent ed3ea3b5ba
commit ceb003d313
18 changed files with 87 additions and 67 deletions
+21 -11
View File
@@ -1,33 +1,43 @@
# @actions/glob Releases
### 0.5.1
## 0.6.0
- **Breaking change**: Package is now ESM-only
- CommonJS consumers must use dynamic `import()` instead of `require()`
## 0.5.1
- Bump `@actions/core` to `2.0.3`
### 0.5.0
## 0.5.0
- Added `excludeHiddenFiles` option, which is disabled by default to preserve existing behavior [#1791: Add glob option to ignore hidden files](https://github.com/actions/toolkit/pull/1791)
### 0.4.0
## 0.4.0
- Pass in the current workspace as a parameter to HashFiles [#1318](https://github.com/actions/toolkit/pull/1318)
### 0.3.0
## 0.3.0
- Added a `verbose` option to HashFiles [#1052](https://github.com/actions/toolkit/pull/1052/files)
### 0.2.1
- Update `lockfileVersion` to `v2` in `package-lock.json [#1023](https://github.com/actions/toolkit/pull/1023)
## 0.2.1
- Update `lockfileVersion` to `v2` in `package-lock.json [#1023](https://github.com/actions/toolkit/pull/1023)
## 0.2.0
### 0.2.0
- [Added the hashFiles function to Glob](https://github.com/actions/toolkit/pull/830)
- [Added an option to filter out directories](https://github.com/actions/toolkit/pull/728)
### 0.1.2
## 0.1.2
- [Fix bug where files were matched incorrectly](https://github.com/actions/toolkit/pull/805)
### 0.1.1
## 0.1.1
- Update @actions/core version
### 0.1.0
## 0.1.0
- Initial release