filter-keys
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "filter-keys", | ||
"description": "Filter the keys of an object using glob patterns.", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/jonschlinkert/filter-keys", | ||
@@ -19,4 +19,7 @@ "author": { | ||
"type": "MIT", | ||
"url": "https://github.com/jonschlinkert/filter-keys/blob/master/LICENSE-MIT" | ||
"url": "https://github.com/jonschlinkert/filter-keys/blob/master/LICENSE" | ||
}, | ||
"files": [ | ||
"index.js" | ||
], | ||
"main": "index.js", | ||
@@ -27,15 +30,15 @@ "engines": { | ||
"scripts": { | ||
"test": "mocha -R spec" | ||
"test": "mocha" | ||
}, | ||
"dependencies": { | ||
"micromatch": "^1.0.1" | ||
"micromatch": "^2.1.5" | ||
}, | ||
"devDependencies": { | ||
"mocha": "*", | ||
"should": "^4.1.0" | ||
"mocha": "^2.2.1", | ||
"should": "^5.2.0" | ||
}, | ||
"keywords": [ | ||
"filter", | ||
"find", | ||
"glob", | ||
"js", | ||
"key", | ||
@@ -46,5 +49,8 @@ "keys", | ||
"pattern", | ||
"util", | ||
"utility" | ||
"properties", | ||
"property", | ||
"props", | ||
"regex", | ||
"test" | ||
] | ||
} |
@@ -1,2 +0,2 @@ | ||
# filter-keys [![NPM version](https://badge.fury.io/js/filter-keys.svg)](http://badge.fury.io/js/filter-keys) | ||
# filter-keys [![NPM version](https://badge.fury.io/js/filter-keys.svg)](http://badge.fury.io/js/filter-keys) [![Build Status](https://travis-ci.org/jonschlinkert/filter-keys.svg)](https://travis-ci.org/jonschlinkert/filter-keys) | ||
@@ -11,8 +11,2 @@ > Filter the keys of an object using glob patterns. | ||
## Run tests | ||
```bash | ||
npm test | ||
``` | ||
## Usage | ||
@@ -27,4 +21,18 @@ | ||
## Related | ||
* [filter-object](https://github.com/jonschlinkert/filter-object): Return a copy of an object, filtered to have only keys that match the given glob patterns. | ||
* [filter-values](https://github.com/jonschlinkert/filter-values): Filter an object to have only the `own` properties for which a `callback` function returns true. | ||
* [micromatch](https://github.com/jonschlinkert/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just use `micromatch.isMatch()` instead of `minimatch()`, or use `micromatch()` instead of `multimatch()`. | ||
* [rename-keys](https://github.com/jonschlinkert/rename-keys): Modify the names of the own enumerable properties (keys) of an object. | ||
* [sort-object](https://github.com/doowb/sort-object): Sort the keys in an object. | ||
## Running tests | ||
Install dev dependencies: | ||
```bash | ||
npm i -d && npm test | ||
``` | ||
## Contributing | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue][issues]. | ||
Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/filter-keys/issues) | ||
@@ -34,3 +42,3 @@ ## Author | ||
**Jon Schlinkert** | ||
+ [github/jonschlinkert](https://github.com/jonschlinkert) | ||
@@ -45,4 +53,2 @@ + [twitter/jonschlinkert](http://twitter.com/jonschlinkert) | ||
_This file was generated by [verb](https://github.com/assemble/verb) on January 19, 2015._ | ||
[issues]: https://github.com/jonschlinkert/filter-keys/issues | ||
_This file was generated by [verb-cli](https://github.com/assemble/verb-cli) on March 31, 2015._ |
51
4358
4
12
+ Addedarr-diff@2.0.0(transitive)
+ Addedarray-unique@0.2.1(transitive)
+ Addedextglob@0.3.2(transitive)
+ Addedglob-base@0.3.0(transitive)
+ Addedglob-parent@2.0.0(transitive)
+ Addedis-dotfile@1.0.3(transitive)
+ Addedis-equal-shallow@0.1.3(transitive)
+ Addedis-primitive@2.0.0(transitive)
+ Addedmicromatch@2.3.11(transitive)
+ Addednormalize-path@2.1.1(transitive)
+ Addedobject.omit@2.0.1(transitive)
+ Addedparse-glob@3.0.4(transitive)
+ Addedregex-cache@0.4.4(transitive)
+ Addedremove-trailing-separator@1.1.0(transitive)
- Removedansi@0.3.1(transitive)
- Removedansi-regex@0.2.12.1.1(transitive)
- Removedansi-styles@1.1.02.2.1(transitive)
- Removedargparse@1.0.10(transitive)
- Removedarr-diff@1.1.0(transitive)
- Removedarr-map@1.0.0(transitive)
- Removedarr-union@3.1.0(transitive)
- Removedarray-slice@0.2.3(transitive)
- Removedasync-array-reduce@0.2.1(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbenchmark@1.0.0(transitive)
- Removedbenchmarked@0.1.5(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedcamel-case@1.2.2(transitive)
- Removedchalk@0.5.11.1.3(transitive)
- Removedclone@1.0.4(transitive)
- Removedclone-stats@0.0.1(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removeddebug@2.6.9(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedesprima@4.0.1(transitive)
- Removedexpand-tilde@1.2.2(transitive)
- Removedextend-shallow@1.1.42.0.1(transitive)
- Removedextglob@0.2.0(transitive)
- Removedfile-reader@1.1.1(transitive)
- Removedfor-in@0.1.8(transitive)
- Removedfs-exists-sync@0.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedglob-base@0.1.1(transitive)
- Removedglob-parent@1.3.0(transitive)
- Removedglob-path-regex@1.0.0(transitive)
- Removedglobal-modules@0.2.3(transitive)
- Removedglobal-prefix@0.1.5(transitive)
- Removedhas-ansi@0.1.02.0.0(transitive)
- Removedhas-glob@0.1.1(transitive)
- Removedhas-values@0.1.4(transitive)
- Removedhomedir-polyfill@1.0.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedini@1.3.8(transitive)
- Removedis-glob@1.1.3(transitive)
- Removedis-valid-glob@0.3.0(transitive)
- Removedis-windows@0.2.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedisobject@0.2.0(transitive)
- Removedjs-yaml@3.14.1(transitive)
- Removedkind-of@1.1.0(transitive)
- Removedlazy-cache@1.0.42.0.2(transitive)
- Removedlower-case@1.1.4(transitive)
- Removedmap-files@0.8.2(transitive)
- Removedmatched@0.4.4(transitive)
- Removedmicromatch@1.6.2(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedms@2.0.0(transitive)
- Removedobject.omit@0.2.1(transitive)
- Removedonce@1.4.0(transitive)
- Removedos-homedir@1.0.2(transitive)
- Removedparse-glob@2.1.1(transitive)
- Removedparse-passwd@1.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedread-yaml@1.1.0(transitive)
- Removedregex-cache@0.3.0(transitive)
- Removedreplace-ext@0.0.1(transitive)
- Removedresolve-dir@0.1.1(transitive)
- Removedsentence-case@1.1.3(transitive)
- Removedset-getter@0.1.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedstrip-ansi@0.3.03.0.1(transitive)
- Removedsupports-color@0.2.02.0.0(transitive)
- Removedto-key@1.0.0(transitive)
- Removedto-object-path@0.3.0(transitive)
- Removedupper-case@1.1.3(transitive)
- Removedvinyl@1.2.0(transitive)
- Removedwhich@1.3.1(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedmicromatch@^2.1.5