@vect/object-select
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -54,5 +54,3 @@ 'use strict'; | ||
function selector(o) { | ||
const { | ||
keys | ||
} = this; | ||
const keys = this; | ||
const l = keys === null || keys === void 0 ? void 0 : keys.length, | ||
@@ -72,5 +70,3 @@ ob = {}; | ||
const select = (o, { | ||
keys | ||
}) => selector.call(keys, o); | ||
const select = (o, keys) => selector.call(keys, o); | ||
const Select = keys => selector.bind(keys); | ||
@@ -77,0 +73,0 @@ |
@@ -50,5 +50,3 @@ import { max, min } from '@aryth/comparer'; | ||
function selector(o) { | ||
const { | ||
keys | ||
} = this; | ||
const keys = this; | ||
const l = keys === null || keys === void 0 ? void 0 : keys.length, | ||
@@ -68,5 +66,3 @@ ob = {}; | ||
const select = (o, { | ||
keys | ||
}) => selector.call(keys, o); | ||
const select = (o, keys) => selector.call(keys, o); | ||
const Select = keys => selector.bind(keys); | ||
@@ -73,0 +69,0 @@ |
{ | ||
"name": "@vect/object-select", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "Select from object/array", | ||
@@ -20,4 +20,4 @@ "main": "dist/index.cjs.js", | ||
"@aryth/rand": "^0.3.0", | ||
"@vect/swap": "^0.3.2", | ||
"@vect/vector-mapper": "^0.3.2" | ||
"@vect/swap": "^0.3.3", | ||
"@vect/vector-mapper": "^0.3.3" | ||
}, | ||
@@ -39,3 +39,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/vect#readme", | ||
"gitHead": "816b8db691002ba43aa89e28364e1733ba2fe075" | ||
"gitHead": "d3e623654d4ec3cec53664c3ac93467f7554777d" | ||
} |
9795
186
Updated@vect/swap@^0.3.3
Updated@vect/vector-mapper@^0.3.3