Skip to content

Commit ef7f1d3

Browse files
committedJan 3, 2023
chore: Remove node-glob from references
1 parent 6aad264 commit ef7f1d3

File tree

2 files changed

+6
-15
lines changed

2 files changed

+6
-15
lines changed
 

‎README.md

+5-14
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]
1010

11-
A [Readable Stream][readable-stream-url] interface over [node-glob][node-glob-url].
11+
A [Readable Stream][readable-stream-url] interface over [anymatch][anymatch-url].
1212

1313
## Usage
1414

@@ -29,7 +29,7 @@ You can pass any combination of glob strings. One caveat is that you cannot **on
2929

3030
## API
3131

32-
### `globStream(globs, options)`
32+
### `globStream(globs, [options])`
3333

3434
Takes a glob string or an array of glob strings as the first argument and an options object as the second. Returns a stream of objects that contain `cwd`, `base` and `path` properties.
3535

@@ -51,14 +51,6 @@ Type: `Boolean`
5151

5252
Default: `false`
5353

54-
##### `options.silent`
55-
56-
Whether or not to suppress warnings on stderr from [node-glob][node-glob-url]. This is passed through to [node-glob][node-glob-url].
57-
58-
Type: `Boolean`
59-
60-
Default: `true`
61-
6254
##### `options.cwd`
6355

6456
The current working directory that the glob is resolved against.
@@ -71,8 +63,6 @@ Default: `process.cwd()`
7163

7264
The root path that the glob is resolved against.
7365

74-
**Note: This is never passed to [node-glob][node-glob-url] because it is pre-resolved against your paths.**
75-
7666
Type: `String`
7767

7868
Default: `undefined` (use the filesystem root)
@@ -103,7 +93,7 @@ Default: `'path'`
10393

10494
##### other
10595

106-
Any glob-related options are documented in [node-glob][node-glob-url]. Those options are forwarded verbatim, with the exception of `root` and `ignore`. `root` is pre-resolved and `ignore` is joined with all negative globs.
96+
Any glob-related options are documented in [picomatch][picomatch-options-url].
10797

10898
#### Globbing & Negation
10999

@@ -130,7 +120,8 @@ gs(['*.js', '!b*.js']);
130120
MIT
131121

132122
<!-- prettier-ignore-start -->
133-
[node-glob-url]: https://github.com/isaacs/node-glob
123+
[anymatch-url]: https://github.com/micromatch/anymatch
124+
[picomatch-options-url]: https://github.com/micromatch/picomatch#options
134125
[glob-parent-url]: https://github.com/es128/glob-parent
135126
[allow-empty-url]: #optionsallowempty
136127
[readable-stream-url]: https://nodejs.org/api/stream.html#stream_readable_streams

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "glob-stream",
33
"version": "7.0.0",
4-
"description": "A Readable Stream interface over node-glob.",
4+
"description": "A Readable Stream interface over anymatch.",
55
"author": "Gulp Team <team@gulpjs.com> (https://gulpjs.com/)",
66
"contributors": [
77
"Eric Schoffstall <yo@contra.io>",

0 commit comments

Comments
 (0)
Please sign in to comment.