@vect/object-select
Advanced tools
Comparing version 0.2.8 to 0.2.9
@@ -5,4 +5,4 @@ 'use strict'; | ||
var comparer = require('@aryth/comparer'); | ||
var rand = require('@aryth/rand'); | ||
var comparer = require('@aryth/comparer'); | ||
var swap = require('@vect/swap'); | ||
@@ -41,3 +41,5 @@ var vectorMapper = require('@vect/vector-mapper'); | ||
const shuffle = function (o, size) { | ||
const keys = (this === null || this === void 0 ? void 0 : this.keys) || Object.keys(o); | ||
var _this$keys; | ||
const keys = (_this$keys = this === null || this === void 0 ? void 0 : this.keys) !== null && _this$keys !== void 0 ? _this$keys : Object.keys(o); | ||
let l = keys.length, | ||
@@ -44,0 +46,0 @@ k; |
@@ -0,3 +1,3 @@ | ||
import { max, min } from '@aryth/comparer'; | ||
import { rand } from '@aryth/rand'; | ||
import { max, min } from '@aryth/comparer'; | ||
import { swap } from '@vect/swap'; | ||
@@ -36,3 +36,5 @@ import { iterate } from '@vect/vector-mapper'; | ||
const shuffle = function (o, size) { | ||
const keys = (this === null || this === void 0 ? void 0 : this.keys) || Object.keys(o); | ||
var _this$keys; | ||
const keys = (_this$keys = this === null || this === void 0 ? void 0 : this.keys) !== null && _this$keys !== void 0 ? _this$keys : Object.keys(o); | ||
let l = keys.length, | ||
@@ -39,0 +41,0 @@ k; |
{ | ||
"name": "@vect/object-select", | ||
"version": "0.2.8", | ||
"version": "0.2.9", | ||
"description": "Select from object/array", | ||
@@ -18,6 +18,6 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@aryth/comparer": "^0.2.11", | ||
"@aryth/rand": "^0.2.11", | ||
"@vect/swap": "^0.2.8", | ||
"@vect/vector-mapper": "^0.2.8" | ||
"@aryth/comparer": "^0.2.14", | ||
"@aryth/rand": "^0.2.14", | ||
"@vect/swap": "^0.2.9", | ||
"@vect/vector-mapper": "^0.2.9" | ||
}, | ||
@@ -39,3 +39,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/vect#readme", | ||
"gitHead": "7b33acbf8f6796f6da550020296bfe592a86af72" | ||
"gitHead": "d1911a29fc0916f90c791b9a763bf1bec11c4eb1" | ||
} |
8864
172
Updated@aryth/comparer@^0.2.14
Updated@aryth/rand@^0.2.14
Updated@vect/swap@^0.2.9
Updated@vect/vector-mapper@^0.2.9