Bump versions
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/content",
|
"name": "@welshman/content",
|
||||||
"version": "0.0.17",
|
"version": "0.0.18",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A collection of utilities for parsing nostr note content.",
|
"description": "A collection of utilities for parsing nostr note content.",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/lib",
|
"name": "@welshman/lib",
|
||||||
"version": "0.0.40",
|
"version": "0.0.41",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A collection of utilities.",
|
"description": "A collection of utilities.",
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ export const max = (xs: Maybe<number>[]) => xs.reduce((a: number, b) => Math.max
|
|||||||
|
|
||||||
/** Returns minimum value in array, handling undefined values */
|
/** Returns minimum value in array, handling undefined values */
|
||||||
export const min = (xs: Maybe<number>[]) => {
|
export const min = (xs: Maybe<number>[]) => {
|
||||||
const [head, ...tail] = xs.filter(x => !isNil(x))
|
const [head, ...tail] = xs.filter(x => !isNil(x)) as number[]
|
||||||
|
|
||||||
if (tail.length === 0) return head || 0
|
if (tail.length === 0) return head || 0
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@welshman/util",
|
"name": "@welshman/util",
|
||||||
"version": "0.0.60",
|
"version": "0.0.61",
|
||||||
"author": "hodlbod",
|
"author": "hodlbod",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"description": "A collection of nostr-related utilities.",
|
"description": "A collection of nostr-related utilities.",
|
||||||
|
|||||||
Reference in New Issue
Block a user