Skip to content

Commit

Permalink
fix: upgrade esm browser fork of glob (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorenbroekema authored Jun 28, 2024
1 parent cb78c3d commit 894f37c
Show file tree
Hide file tree
Showing 5 changed files with 226 additions and 98 deletions.
5 changes: 5 additions & 0 deletions .changeset/afraid-poems-brush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'style-dictionary': patch
---

Update glob esm browser fork to latest, resolve unclear licensing issue.
1 change: 1 addition & 0 deletions lib/utils/combineJSON.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export default async function combineJSON(
let files = [];

for (let i = 0; i < arr.length; i++) {
/** @ts-expect-error memfs's IFs type does not seem to implement readdir correctly, 2nd param seems incorrect? path-scurry throws type error on it */
const new_files = globSync(arr[i], { fs: volume, posix: true }).sort();
files = files.concat(new_files);
}
Expand Down
Loading

0 comments on commit 894f37c

Please sign in to comment.