Skip to content

Commit 079e1b0

Browse files
committed
7.0.0
1 parent 65c18e2 commit 079e1b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ ig.filter(['.abc\\a.js', '.abc\\d\\e.js'])
102102

103103
## .add(pattern: string | Ignore): this
104104
## .add(patterns: Array<string | Ignore>): this
105-
## .add({pattern: string, mark?: string}): this since 6.1.0
105+
## .add({pattern: string, mark?: string}): this since 7.0.0
106106

107107
- **pattern** `string | Ignore` An ignore pattern string, or the `Ignore` instance
108108
- **patterns** `Array<string | Ignore>` Array of ignore patterns.
@@ -271,7 +271,7 @@ interface TestResult {
271271
rule?: IgnoreRule
272272
}
273273

274-
// Since 6.1.0
274+
// Since 7.0.0
275275
interface IgnoreRule {
276276
// The original pattern
277277
pattern: string
@@ -288,7 +288,7 @@ interface IgnoreRule {
288288

289289
## .checkIgnore(target: string): TestResult
290290

291-
> new in 6.1.0
291+
> new in 7.0.0
292292
293293
Debugs gitignore / exclude files, which is equivalent to `git check-ignore -v`. Usually this method is used for other packages to implement the function of `git check-ignore -v` upon `node-ignore`
294294

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ignore",
3-
"version": "6.1.0",
3+
"version": "7.0.0",
44
"description": "Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.",
55
"main": "index.js",
66
"module": "index.mjs",

0 commit comments

Comments
 (0)