Socket
Socket
Sign inDemoInstall

filter-obj

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filter-obj - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

4

index.d.ts

@@ -24,3 +24,3 @@ /**

*/
declare function filterObject<ObjectType extends {[key: string]: unknown}>(
declare function filterObject<ObjectType extends {[key: string]: any}>(
object: ObjectType,

@@ -33,3 +33,3 @@ predicate: (

declare function filterObject<
ObjectType extends {[key: string]: unknown},
ObjectType extends {[key: string]: any},
IncludedKeys extends keyof ObjectType

@@ -36,0 +36,0 @@ >(

{
"name": "filter-obj",
"version": "2.0.0",
"version": "2.0.1",
"description": "Filter object keys and values into a new object",

@@ -33,6 +33,6 @@ "license": "MIT",

"devDependencies": {
"ava": "^1.4.1",
"tsd": "^0.7.2",
"xo": "^0.24.0"
"ava": "^2.4.0",
"tsd": "^0.9.0",
"xo": "^0.25.3"
}
}

@@ -58,6 +58,1 @@ # filter-obj [![Build Status](https://travis-ci.org/sindresorhus/filter-obj.svg?branch=master)](https://travis-ci.org/sindresorhus/filter-obj)

- [map-obj](https://github.com/sindresorhus/map-obj) - Map object keys and values into a new object
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)
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