@aryth/bound-vector
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -84,9 +84,3 @@ 'use strict'; | ||
const oneself = x => x; | ||
const duobound = (words, x = { | ||
filter: numLoose.isNumeric, | ||
mapper: oneself | ||
}, y = { | ||
filter: literal.isLiteral, | ||
mapper: stringValue | ||
}) => { | ||
const duobound = (words, x = {}, y = {}) => { | ||
const l = words === null || words === void 0 ? void 0 : words.length; | ||
@@ -96,8 +90,8 @@ let vecX = undefined, | ||
const { | ||
filter: filterX, | ||
mapper: mapperX | ||
filter: filterX = numLoose.isNumeric, | ||
mapper: mapperX = oneself | ||
} = x; | ||
const { | ||
filter: filterY, | ||
mapper: mapperY | ||
filter: filterY = literal.isLiteral, | ||
mapper: mapperY = stringValue | ||
} = y; | ||
@@ -104,0 +98,0 @@ vectorMapper.iterate(words, (v, i) => { |
@@ -80,9 +80,3 @@ import { IsNum, boundOutput, ToNum } from '@aryth/util-bound'; | ||
const oneself = x => x; | ||
const duobound = (words, x = { | ||
filter: isNumeric, | ||
mapper: oneself | ||
}, y = { | ||
filter: isLiteral, | ||
mapper: stringValue | ||
}) => { | ||
const duobound = (words, x = {}, y = {}) => { | ||
const l = words === null || words === void 0 ? void 0 : words.length; | ||
@@ -92,8 +86,8 @@ let vecX = undefined, | ||
const { | ||
filter: filterX, | ||
mapper: mapperX | ||
filter: filterX = isNumeric, | ||
mapper: mapperX = oneself | ||
} = x; | ||
const { | ||
filter: filterY, | ||
mapper: mapperY | ||
filter: filterY = isLiteral, | ||
mapper: mapperY = stringValue | ||
} = y; | ||
@@ -100,0 +94,0 @@ iterate(words, (v, i) => { |
{ | ||
"name": "@aryth/bound-vector", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A math util library", | ||
@@ -18,3 +18,3 @@ "main": "dist/index.cjs.js", | ||
"dependencies": { | ||
"@aryth/util-bound": "^0.2.0", | ||
"@aryth/util-bound": "^0.2.1", | ||
"@typen/enum-check-levels": "^0.1.4", | ||
@@ -40,3 +40,3 @@ "@typen/literal": "^0.1.4", | ||
"homepage": "https://github.com/hoyeungw/aryth#readme", | ||
"gitHead": "80791a9032dc6e352eb5385d83d1b24ff85ba04d" | ||
"gitHead": "eace3d8179e1db2c2fe84900f79749f0a87b6b60" | ||
} |
10060
212
Updated@aryth/util-bound@^0.2.1