toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

@actions/glob - Outdated minimatch dependency

Open ncalteen opened this issue 10 months ago • 0 comments

Describe the bug

The current version of minimatch used by @actions/glob is severely outdated. As of this issue, it is pinned a 3.0.4 while the latest release is 10.0.1.

When transpiling ESM actions using tools like rollup, this results in invalid require statements that cause unresolvable errors on Windows runners.

Additional details can be found here: https://github.com/graalvm/setup-graalvm/issues/138

To Reproduce Steps to reproduce the behavior:

  1. Create a fork of https://github.com/actions/typescript-action
  2. Install the @actions/glob module
  3. Transpile the action (npm run package)
  4. Attempt to run the action on a Windows runner

Expected behavior

The action runs as expected, and the @actions/glob functionality does not raise an error.

Additional context

  • Related: https://github.com/rollup/rollup/issues/3434
  • Related: https://github.com/actions/typescript-action/issues/1017

ncalteen avatar Feb 14 '25 15:02 ncalteen