Skip to content

Commit bfcc9f3

Browse files
committed
update glob to v9
1 parent 610b2c3 commit bfcc9f3

File tree

5 files changed

+232
-40
lines changed

5 files changed

+232
-40
lines changed

bin/ospec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ loaderDetected.then((load) => {
6767
let remaining = globList.length
6868
let loading = Promise.resolve()
6969
globList.forEach((globPattern) => {
70-
glob(globPattern, {ignore: ignore})
71-
.on("match", (fileName) => {
70+
glob.globStream(globPattern, {ignore: ignore})
71+
.on("data", (fileName) => {
7272
var fullPath = path.join(cwd, fileName)
7373
loading = loading.then(() => {
7474
o.metadata({file: fullPath})

changelog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ Change log
2626
======
2727

2828
### Upcoming
29-
30-
*Nothing yet*
29+
<!-- Add new lines here. Version number will be decided later -->
30+
- Update `glob` dependency to v9.
3131

3232
### 4.2.0
3333
_2023-03-10_
@@ -130,7 +130,6 @@ _2019-07-24_
130130
_2019-02-07_
131131

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

0 commit comments

Comments
 (0)