@aryth/flopper
Advanced tools
Comparing version 0.3.19 to 0.3.20
@@ -9,3 +9,3 @@ 'use strict'; | ||
const infiniteFlopper = function* (ar, df) { | ||
var _df, _ar; | ||
var _ar; | ||
@@ -16,3 +16,3 @@ let l = ar.length; | ||
df = (_df = df) !== null && _df !== void 0 ? _df : (_ar = ar, rand.flop(_ar)); | ||
df = df ?? (_ar = ar, rand.flop(_ar)); | ||
@@ -19,0 +19,0 @@ while (true) yield df; |
@@ -5,3 +5,3 @@ import { rand, flop } from '@aryth/rand'; | ||
const infiniteFlopper = function* (ar, df) { | ||
var _df, _ar; | ||
var _ar; | ||
@@ -12,3 +12,3 @@ let l = ar.length; | ||
df = (_df = df) !== null && _df !== void 0 ? _df : (_ar = ar, flop(_ar)); | ||
df = df ?? (_ar = ar, flop(_ar)); | ||
@@ -15,0 +15,0 @@ while (true) yield df; |
{ | ||
"name": "@aryth/flopper", | ||
"version": "0.3.19", | ||
"version": "0.3.20", | ||
"description": "A math util library", | ||
@@ -18,5 +18,5 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@aryth/comparer": "^0.3.19", | ||
"@aryth/rand": "^0.3.19", | ||
"@vect/swap": "^0.3.9" | ||
"@aryth/comparer": "^0.3.20", | ||
"@aryth/rand": "^0.3.20", | ||
"@vect/swap": "^0.3.10" | ||
}, | ||
@@ -38,3 +38,3 @@ "repository": { | ||
"homepage": "https://github.com/hoyeungw/aryth#readme", | ||
"gitHead": "577f88905f3e56b09bdd5680ecc8d91d68697931" | ||
"gitHead": "227c4f9de2905851b0b403453942fe4c3a3ea01a" | ||
} |
4487
Updated@aryth/comparer@^0.3.20
Updated@aryth/rand@^0.3.20
Updated@vect/swap@^0.3.10