Skip to content

Commit f1fe26e

Browse files
committed
Update glob to v10
Keeping (dev) dependencies up to date is likely a good idea, especially if later versions are (ever so slightly) faster. glob v10 removed its default export, so the `globSync` named export is now used in scripts. Since the platform path separator is now used starting from glob v9, the `posix` option is enabled to fix the resulting breakage. glob v9 also removed the sorting of results, which caused one test to fail, as the bundled standard library object had differently ordered fields, which in turn affected the order in `Program#elementsByName`. `.sort()` is used on the standard library glob in build.js to alleviate this issue (I am unsure if glob returns deterministic results).
1 parent 2d57dfb commit f1fe26e

File tree

6 files changed

+395
-24
lines changed

6 files changed

+395
-24
lines changed

0 commit comments

Comments
 (0)