filter-object
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -12,8 +12,6 @@ 'use strict'; | ||
if (arguments.length === 1) { | ||
return o; | ||
} | ||
if (patterns == nul) return o; | ||
var keys = filterKeys(o, patterns); | ||
var keys = filterKeys(o, patterns, options); | ||
return sortObject(o, extend({keys: keys}, options)); | ||
}; |
{ | ||
"name": "filter-object", | ||
"description": "Return a copy of an object, filtered to have only keys that match the given glob patterns.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/jonschlinkert/filter-object", | ||
@@ -60,2 +60,2 @@ "author": { | ||
] | ||
} | ||
} |
@@ -67,3 +67,3 @@ # filter-object [![NPM version](https://badge.fury.io/js/filter-object.svg)](http://badge.fury.io/js/filter-object) | ||
## License | ||
Copyright (c) 2014 Jon Schlinkert | ||
Copyright (c) 2015 Jon Schlinkert | ||
Released under the MIT license | ||
@@ -73,4 +73,4 @@ | ||
_This file was generated by [verb](https://github.com/assemble/verb) on December 30, 2014._ | ||
_This file was generated by [verb](https://github.com/assemble/verb) on January 19, 2015._ | ||
[sort-object]: https://github.com/helpers/sort-object |
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
4339
4
12