nanomatch
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "nanomatch", | ||
"description": "Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"homepage": "https://github.com/micromatch/nanomatch", | ||
@@ -37,5 +37,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"devDependencies": { | ||
"ansi-cyan": "^0.1.1", | ||
"bash-match": "^1.0.2", | ||
"benchmarked": "^1.1.1", | ||
"for-own": "^1.0.0", | ||
@@ -48,9 +46,7 @@ "gulp": "^3.9.1", | ||
"helper-changelog": "^0.3.0", | ||
"is-primitive": "^2.0.0", | ||
"is-windows": "^1.0.1", | ||
"isobject": "^3.0.1", | ||
"minimatch": "^3.0.4", | ||
"minimist": "^1.2.0", | ||
"mocha": "^3.5.0", | ||
"multimatch": "^2.1.0", | ||
"yargs-parser": "^7.0.0" | ||
"multimatch": "^2.1.0" | ||
}, | ||
@@ -88,7 +84,17 @@ "keywords": [ | ||
"lintDeps": { | ||
"files": { | ||
"merge": true, | ||
"devDependencies": [ | ||
"benchmark/**/*.js" | ||
] | ||
"dependencies": { | ||
"options": { | ||
"lock": { | ||
"snapdragon": "^0.8.1" | ||
} | ||
} | ||
}, | ||
"devDependencies": { | ||
"files": { | ||
"options": { | ||
"ignore": [ | ||
"benchmark/**" | ||
] | ||
} | ||
} | ||
} | ||
@@ -110,2 +116,4 @@ }, | ||
"list": [ | ||
"extglob", | ||
"micromatch", | ||
"is-extglob", | ||
@@ -116,12 +124,4 @@ "is-glob" | ||
"reflinks": [ | ||
"a-c", | ||
"bash-braces", | ||
"bash-brackets", | ||
"bash-extglobs", | ||
"bash-globs", | ||
"bash-tilde", | ||
"braces", | ||
"expand-brackets", | ||
"expand-tilde", | ||
"extglob", | ||
"glob-object", | ||
@@ -128,0 +128,0 @@ "micromatch", |
@@ -1010,52 +1010,44 @@ # nanomatch [![NPM version](https://img.shields.io/npm/v/nanomatch.svg?style=flat)](https://www.npmjs.com/package/nanomatch) [![NPM monthly downloads](https://img.shields.io/npm/dm/nanomatch.svg?style=flat)](https://npmjs.org/package/nanomatch) [![NPM total downloads](https://img.shields.io/npm/dt/nanomatch.svg?style=flat)](https://npmjs.org/package/nanomatch) [![Linux Build Status](https://img.shields.io/travis/micromatch/nanomatch.svg?style=flat&label=Travis)](https://travis-ci.org/micromatch/nanomatch) [![Windows Build Status](https://img.shields.io/appveyor/ci/micromatch/nanomatch.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/micromatch/nanomatch) | ||
```bash | ||
Benchmarking: (6 of 6) | ||
· globstar-basic | ||
· large-list-globstar | ||
· long-list-globstar | ||
· negation-basic | ||
· not-glob-basic | ||
· star-basic | ||
# globstar-basic (182 bytes) | ||
minimatch x 70,508 ops/sec ±0.44% (92 runs sampled) | ||
multimatch x 63,220 ops/sec ±0.76% (94 runs sampled) | ||
nanomatch x 377,146 ops/sec ±0.45% (89 runs sampled) | ||
# benchmark/fixtures/match/globstar-basic.js (182 bytes) | ||
minimatch x 31,046 ops/sec ±0.56% (87 runs sampled) | ||
multimatch x 27,787 ops/sec ±1.02% (88 runs sampled) | ||
nanomatch x 453,686 ops/sec ±1.11% (89 runs sampled) | ||
fastest is nanomatch (by 564% avg) | ||
fastest is nanomatch | ||
# large-list-globstar (485686 bytes) | ||
minimatch x 35.67 ops/sec ±0.47% (61 runs sampled) | ||
multimatch x 34.80 ops/sec ±1.77% (60 runs sampled) | ||
nanomatch x 509 ops/sec ±0.43% (90 runs sampled) | ||
# benchmark/fixtures/match/large-list-globstar.js (485686 bytes) | ||
minimatch x 25.23 ops/sec ±0.46% (44 runs sampled) | ||
multimatch x 25.20 ops/sec ±0.97% (43 runs sampled) | ||
nanomatch x 735 ops/sec ±0.66% (89 runs sampled) | ||
fastest is nanomatch (by 1445% avg) | ||
fastest is nanomatch | ||
# long-list-globstar (194085 bytes) | ||
minimatch x 397 ops/sec ±0.96% (89 runs sampled) | ||
multimatch x 400 ops/sec ±0.32% (90 runs sampled) | ||
nanomatch x 843 ops/sec ±0.40% (92 runs sampled) | ||
# benchmark/fixtures/match/long-list-globstar.js (194085 bytes) | ||
minimatch x 258 ops/sec ±0.87% (83 runs sampled) | ||
multimatch x 264 ops/sec ±0.90% (82 runs sampled) | ||
nanomatch x 1,858 ops/sec ±0.56% (89 runs sampled) | ||
fastest is nanomatch (by 212% avg) | ||
fastest is nanomatch | ||
# negation-basic (132 bytes) | ||
minimatch x 224,342 ops/sec ±1.07% (90 runs sampled) | ||
multimatch x 68,071 ops/sec ±0.80% (89 runs sampled) | ||
nanomatch x 442,204 ops/sec ±1.09% (91 runs sampled) | ||
# benchmark/fixtures/match/negation-basic.js (132 bytes) | ||
minimatch x 74,240 ops/sec ±1.22% (88 runs sampled) | ||
multimatch x 25,360 ops/sec ±1.18% (89 runs sampled) | ||
nanomatch x 545,835 ops/sec ±1.12% (88 runs sampled) | ||
fastest is nanomatch (by 302% avg) | ||
fastest is nanomatch | ||
# not-glob-basic (93 bytes) | ||
minimatch x 222,156 ops/sec ±0.98% (89 runs sampled) | ||
multimatch x 179,724 ops/sec ±1.04% (91 runs sampled) | ||
nanomatch x 1,446,098 ops/sec ±0.45% (92 runs sampled) | ||
# benchmark/fixtures/match/not-glob-basic.js (93 bytes) | ||
minimatch x 92,753 ops/sec ±1.59% (86 runs sampled) | ||
multimatch x 50,125 ops/sec ±1.43% (87 runs sampled) | ||
nanomatch x 1,195,648 ops/sec ±1.18% (87 runs sampled) | ||
fastest is nanomatch (by 720% avg) | ||
fastest is nanomatch | ||
# star-basic (93 bytes) | ||
minimatch x 165,049 ops/sec ±1.22% (91 runs sampled) | ||
multimatch x 132,553 ops/sec ±0.57% (90 runs sampled) | ||
nanomatch x 522,080 ops/sec ±1.20% (92 runs sampled) | ||
# benchmark/fixtures/match/star-basic.js (93 bytes) | ||
minimatch x 70,746 ops/sec ±1.51% (86 runs sampled) | ||
multimatch x 54,317 ops/sec ±1.45% (89 runs sampled) | ||
nanomatch x 602,748 ops/sec ±1.17% (86 runs sampled) | ||
fastest is nanomatch (by 351% avg) | ||
fastest is nanomatch | ||
``` | ||
@@ -1069,4 +1061,6 @@ | ||
* [extglob](https://www.npmjs.com/package/extglob): Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob… [more](https://github.com/jonschlinkert/extglob) | [homepage](https://github.com/jonschlinkert/extglob "Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.") | ||
* [is-extglob](https://www.npmjs.com/package/is-extglob): Returns true if a string has an extglob. | [homepage](https://github.com/jonschlinkert/is-extglob "Returns true if a string has an extglob.") | ||
* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern… [more](https://github.com/jonschlinkert/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob "Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet") | ||
* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. | [homepage](https://github.com/micromatch/micromatch "Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch.") | ||
@@ -1083,3 +1077,3 @@ ### Contributing | ||
| --- | --- | | ||
| 132 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 138 | [jonschlinkert](https://github.com/jonschlinkert) | | ||
| 1 | [devongovett](https://github.com/devongovett) | | ||
@@ -1119,2 +1113,2 @@ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on September 07, 2017._ | ||
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on September 13, 2017._ |
90142
13
1110