New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

filter-keys

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filter-keys - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

24

package.json
{
"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._
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc