Skip to content

Commit

Permalink
update glob to v9
Browse files Browse the repository at this point in the history
  • Loading branch information
chromy authored and dead-claudia committed Jul 6, 2024
1 parent 610b2c3 commit dbce1af
Show file tree
Hide file tree
Showing 5 changed files with 232 additions and 40 deletions.
4 changes: 2 additions & 2 deletions bin/ospec
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ loaderDetected.then((load) => {
let remaining = globList.length
let loading = Promise.resolve()
globList.forEach((globPattern) => {
glob(globPattern, {ignore: ignore})
.on("match", (fileName) => {
glob.globStream(globPattern, {ignore: ignore})
.on("data", (fileName) => {
var fullPath = path.join(cwd, fileName)
loading = loading.then(() => {
o.metadata({file: fullPath})
Expand Down
5 changes: 2 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Change log
======

### Upcoming

*Nothing yet*
<!-- Add new lines here. Version number will be decided later -->
- Update `glob` dependency to v9.

### 4.2.0
_2023-03-10_
Expand Down Expand Up @@ -130,7 +130,6 @@ _2019-07-24_
_2019-02-07_

- ospec: Test results now include `.message` and `.context` regardless of whether the test passed or failed. (#2227 @robertakarobin)
<!-- Add new lines here. Version number will be decided later -->
- Add `spy.calls` array property to get the `this` and `arguments` values for any arbitrary call. (#2221 @isiahmeadows)
- Added `.throws` and `.notThrows` assertions to ospec. (#2255 @robertakarobin)
- Update `glob` dependency.
Expand Down
Loading

0 comments on commit dbce1af

Please sign in to comment.