Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "ignore", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Ignore is a manager and filter for .gitignore rules.", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -49,3 +49,3 @@ <table><thead> | ||
Since `4.0.0`, ignore will no longer support `node < 6`, to use in node < 6, `require('ignore/legacy')`. | ||
Since `4.0.0`, ignore will no longer support `node < 6` by default, to use in node < 6, `require('ignore/legacy')`. For details, see [CHANGELOG](https://github.com/kaelzhang/node-ignore/blob/master/CHANGELOG.md). | ||
@@ -244,2 +244,16 @@ ## Table Of Main Contents | ||
## `options.ignorecase` since 4.0.0 | ||
Similar as the `core.ignorecase` option of [git-config](https://git-scm.com/docs/git-config), `node-ignore` will be case insensitive if `options.ignorecase` is set to `true` (default value), otherwise case sensitive. | ||
```js | ||
const ig = ignore({ | ||
ignorecase: false | ||
}) | ||
ig.add('*.png') | ||
ig.ignores('*.PNG') // false | ||
``` | ||
**** | ||
@@ -246,0 +260,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
35531
6
285
0