@actions/glob: convert to an ESM module (#2273)

* `@actions/glob`: convert to an ESM module

* Update packages/glob/RELEASES.md

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Daniel Kennedy
2026-01-29 10:41:33 -05:00
committed by GitHub
co-authored by Copilot
parent 5793b08cd9
commit 7a0147b5c6
18 changed files with 87 additions and 67 deletions
+6 -6
View File
@@ -1,12 +1,12 @@
import * as core from '@actions/core'
import * as fs from 'fs'
import * as globOptionsHelper from './internal-glob-options-helper'
import * as globOptionsHelper from './internal-glob-options-helper.js'
import * as path from 'path'
import * as patternHelper from './internal-pattern-helper'
import {GlobOptions} from './internal-glob-options'
import {MatchKind} from './internal-match-kind'
import {Pattern} from './internal-pattern'
import {SearchState} from './internal-search-state'
import * as patternHelper from './internal-pattern-helper.js'
import {GlobOptions} from './internal-glob-options.js'
import {MatchKind} from './internal-match-kind.js'
import {Pattern} from './internal-pattern.js'
import {SearchState} from './internal-search-state.js'
const IS_WINDOWS = process.platform === 'win32'