@actions/glob: fix minimatch imports (#2276)
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
# @actions/glob Releases
|
# @actions/glob Releases
|
||||||
|
|
||||||
|
## 0.6.1
|
||||||
|
|
||||||
|
- Fix a bad import for `minimatch`
|
||||||
|
|
||||||
## 0.6.0
|
## 0.6.0
|
||||||
|
|
||||||
- **Breaking change**: Package is now ESM-only
|
- **Breaking change**: Package is now ESM-only
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@actions/glob",
|
"name": "@actions/glob",
|
||||||
"version": "0.6.0",
|
"version": "0.6.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@actions/glob",
|
"name": "@actions/glob",
|
||||||
"version": "0.6.0",
|
"version": "0.6.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^3.0.0",
|
"@actions/core": "^3.0.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@actions/glob",
|
"name": "@actions/glob",
|
||||||
"version": "0.6.0",
|
"version": "0.6.1",
|
||||||
"preview": true,
|
"preview": true,
|
||||||
"description": "Actions glob lib",
|
"description": "Actions glob lib",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
|
|||||||
@@ -2,10 +2,14 @@ import * as os from 'os'
|
|||||||
import * as path from 'path'
|
import * as path from 'path'
|
||||||
import * as pathHelper from './internal-path-helper.js'
|
import * as pathHelper from './internal-path-helper.js'
|
||||||
import assert from 'assert'
|
import assert from 'assert'
|
||||||
import {Minimatch, IMinimatch, IOptions as IMinimatchOptions} from 'minimatch'
|
import minimatch from 'minimatch'
|
||||||
import {MatchKind} from './internal-match-kind.js'
|
import {MatchKind} from './internal-match-kind.js'
|
||||||
import {Path} from './internal-path.js'
|
import {Path} from './internal-path.js'
|
||||||
|
|
||||||
|
type IMinimatch = minimatch.IMinimatch
|
||||||
|
type IMinimatchOptions = minimatch.IOptions
|
||||||
|
const {Minimatch} = minimatch
|
||||||
|
|
||||||
const IS_WINDOWS = process.platform === 'win32'
|
const IS_WINDOWS = process.platform === 'win32'
|
||||||
|
|
||||||
export class Pattern {
|
export class Pattern {
|
||||||
|
|||||||
Reference in New Issue
Block a user