@actions/glob: fix minimatch imports (#2276)

This commit is contained in:
Daniel Kennedy
2026-01-29 13:30:54 -05:00
committed by GitHub
parent 9d912b1840
commit b48854e1ac
4 changed files with 12 additions and 4 deletions
+4
View File
@@ -1,5 +1,9 @@
# @actions/glob Releases
## 0.6.1
- Fix a bad import for `minimatch`
## 0.6.0
- **Breaking change**: Package is now ESM-only
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@actions/glob",
"version": "0.6.0",
"version": "0.6.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@actions/glob",
"version": "0.6.0",
"version": "0.6.1",
"license": "MIT",
"dependencies": {
"@actions/core": "^3.0.0",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/glob",
"version": "0.6.0",
"version": "0.6.1",
"preview": true,
"description": "Actions glob lib",
"keywords": [
+5 -1
View File
@@ -2,10 +2,14 @@ import * as os from 'os'
import * as path from 'path'
import * as pathHelper from './internal-path-helper.js'
import assert from 'assert'
import {Minimatch, IMinimatch, IOptions as IMinimatchOptions} from 'minimatch'
import minimatch from 'minimatch'
import {MatchKind} from './internal-match-kind.js'
import {Path} from './internal-path.js'
type IMinimatch = minimatch.IMinimatch
type IMinimatchOptions = minimatch.IOptions
const {Minimatch} = minimatch
const IS_WINDOWS = process.platform === 'win32'
export class Pattern {