| 1 |
Source: node-ignore |
| 2 |
Section: javascript |
| 3 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 4 |
Uploaders: Jonas Smedegaard <[email protected]> |
| 5 |
Build-Depends: babeljs (>= 7) |
| 6 |
, debhelper-compat (= 13) |
| 7 |
, dh-sequence-nodejs |
| 8 |
, node-debug <!nocheck> |
| 9 |
, node-tap (>= 21) <!nocheck> |
| 10 |
, node-typescript <!nocheck> |
| 11 |
, pandoc <!nodoc> |
| 12 |
Standards-Version: 4.7.4 |
| 13 |
Vcs-Browser: https://salsa.debian.org/js-team/node-ignore |
| 14 |
Vcs-Git: https://salsa.debian.org/js-team/node-ignore.git |
| 15 |
Homepage: https://github.com/kaelzhang/node-ignore |
| 16 |
Testsuite: autopkgtest-pkg-nodejs |
| 17 |
|
| 18 |
Package: node-ignore |
| 19 |
Architecture: all |
| 20 |
Depends: nodejs:any |
| 21 |
, ${misc:Depends} |
| 22 |
Multi-Arch: foreign |
| 23 |
Description: manager and filter for .gitignore rules - Node.js library |
| 24 |
"ignore" is a manager, filter and parser |
| 25 |
for the .gitignore spec at <https://git-scm.com/docs/gitignore>, |
| 26 |
implemented in pure JavaScript. |
| 27 |
. |
| 28 |
* Standalone module, much simpler than e.g. "fstream-ignore". |
| 29 |
* Only contains utility methods |
| 30 |
to filter paths according to the specified ignore rules. |
| 31 |
* Never tries to discover ignore rules |
| 32 |
by traversing directories or fetching from git configurations. |
| 33 |
* Doesn't care about sub-modules of git projects. |
| 34 |
* Complies exactly to gitignore documentation |
| 35 |
at <https://git-scm.com/docs/gitignore>: |
| 36 |
- "/*.js" should only match "a.js", not also "abc/a.js". |
| 37 |
- "**/foo" should match "foo" anywhere. |
| 38 |
- Prevents re-including a file excluded in a parent directory. |
| 39 |
- Handles trailing whitespaces: |
| 40 |
- "a " (one space) should not match "a " (two spaces). |
| 41 |
- "a \ " matches "a ". |
| 42 |
- All test cases are verified against "git check-ignore". |