Skip to content

Commit

Permalink
fix: downgrade to globby v11 for commonjs support
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard committed Sep 6, 2022
1 parent c329bb7 commit fa36f9d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 28 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"esbuild": "^0.15.5",
"esbuild-register": "^3.3.3",
"find-config": "^1.0.0",
"globby": "^12.2.0",
"globby": "^11.1.0",
"jsonc-parser": "^3.1.0",
"mkdirp": "^1.0.4",
"ora": "^5.4.1",
Expand All @@ -81,6 +81,7 @@
"@sanity/semantic-release-preset": "^2.0.0",
"@types/cpx": "^1.5.2",
"@types/find-config": "^1.0.1",
"@types/globby": "^9.1.0",
"@types/mkdirp": "^1.0.2",
"@types/node": "^18.7.13",
"@types/prettier": "^2.7.0",
Expand Down
37 changes: 11 additions & 26 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/node/_globFiles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {globby} from 'globby'
import globby from 'globby'

export function _globFiles(patterns: string[]): Promise<string[]> {
return globby(patterns)
Expand Down

0 comments on commit fa36f9d

Please sign in to comment.