filter-anything
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -74,3 +74,3 @@ 'use strict'; | ||
* @param {T} obj the target object to pick props from | ||
* @param {K[]} keys the prop names you want to keep | ||
* @param {K[]} keys an array of prop names you want to keep - allows dot-notation for nested props, eg. `nested.prop` will keep just `{ nested: { prop: 1 } }` | ||
* @returns {O.Pick<T, K>} a new object with just the picked props | ||
@@ -77,0 +77,0 @@ */ |
@@ -70,3 +70,3 @@ import { isPlainObject } from 'is-what'; | ||
* @param {T} obj the target object to pick props from | ||
* @param {K[]} keys the prop names you want to keep | ||
* @param {K[]} keys an array of prop names you want to keep - allows dot-notation for nested props, eg. `nested.prop` will keep just `{ nested: { prop: 1 } }` | ||
* @returns {O.Pick<T, K>} a new object with just the picked props | ||
@@ -73,0 +73,0 @@ */ |
{ | ||
"name": "filter-anything", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "A simple (TypeScript) integration of \"pick\" and \"omit\" to filter props of an object", |
@@ -11,3 +11,3 @@ import { O } from 'ts-toolbelt' | ||
* @param {T} obj the target object to pick props from | ||
* @param {K[]} keys the prop names you want to keep | ||
* @param {K[]} keys an array of prop names you want to keep - allows dot-notation for nested props, eg. `nested.prop` will keep just `{ nested: { prop: 1 } }` | ||
* @returns {O.Pick<T, K>} a new object with just the picked props | ||
@@ -14,0 +14,0 @@ */ |
@@ -9,3 +9,3 @@ import { O } from 'ts-toolbelt'; | ||
* @param {T} obj the target object to pick props from | ||
* @param {K[]} keys the prop names you want to keep | ||
* @param {K[]} keys an array of prop names you want to keep - allows dot-notation for nested props, eg. `nested.prop` will keep just `{ nested: { prop: 1 } }` | ||
* @returns {O.Pick<T, K>} a new object with just the picked props | ||
@@ -12,0 +12,0 @@ */ |
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
157556