diff --git a/apps/explorer/CHANGELOG.md b/apps/explorer/CHANGELOG.md
index 35fa5f8f4..4446f9e2d 100644
--- a/apps/explorer/CHANGELOG.md
+++ b/apps/explorer/CHANGELOG.md
@@ -1,5 +1,23 @@
# explorer
+## 0.10.3
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.10.2
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.10.1
+
+### Patch Changes
+
+- lodash es.
+
## 0.10.0
### Minor Changes
diff --git a/apps/explorer/app/contract/[id]/opengraph-image.tsx b/apps/explorer/app/contract/[id]/opengraph-image.tsx
index 49d82899a..ef6815b2e 100644
--- a/apps/explorer/app/contract/[id]/opengraph-image.tsx
+++ b/apps/explorer/app/contract/[id]/opengraph-image.tsx
@@ -6,7 +6,7 @@ import { humanBytes, humanDate } from '@siafoundation/units'
import { getOGImage } from '../../../components/OGImageEntity'
import { siaCentralApi } from '../../../config'
import { truncate } from '@siafoundation/design-system'
-import { lowerCase } from 'lodash'
+import { lowerCase } from 'lodash-es'
import { siacoinToFiat } from '../../../lib/currency'
import { CurrencyOption, currencyOptions } from '@siafoundation/react-core'
diff --git a/apps/explorer/components/AddressSkeleton/index.tsx b/apps/explorer/components/AddressSkeleton/index.tsx
index a77ff9654..7108b2bfe 100644
--- a/apps/explorer/components/AddressSkeleton/index.tsx
+++ b/apps/explorer/components/AddressSkeleton/index.tsx
@@ -7,7 +7,7 @@ import {
EntityList,
DatumSkeleton,
} from '@siafoundation/design-system'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
import { ContentLayout } from '../ContentLayout'
export function AddressSkeleton() {
diff --git a/apps/explorer/components/BlockSkeleton/index.tsx b/apps/explorer/components/BlockSkeleton/index.tsx
index d72efbb86..05581d7cb 100644
--- a/apps/explorer/components/BlockSkeleton/index.tsx
+++ b/apps/explorer/components/BlockSkeleton/index.tsx
@@ -3,7 +3,7 @@ import {
EntityList,
DatumSkeleton,
} from '@siafoundation/design-system'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
import { ContentLayout } from '../ContentLayout'
export function BlockSkeleton() {
diff --git a/apps/explorer/components/Contract/ContractHeader.tsx b/apps/explorer/components/Contract/ContractHeader.tsx
index 580ae8635..a409a60b2 100644
--- a/apps/explorer/components/Contract/ContractHeader.tsx
+++ b/apps/explorer/components/Contract/ContractHeader.tsx
@@ -8,7 +8,7 @@ import {
SiaCentralContract,
getSiaCentralBlockLatest,
} from '@siafoundation/sia-central'
-import { lowerCase } from 'lodash'
+import { lowerCase } from 'lodash-es'
import { routes } from '../../config/routes'
import { EntityHeading } from '../EntityHeading'
import { siaCentralApi } from '../../config'
@@ -64,33 +64,36 @@ export async function ContractHeader({
{renewedToId && renewedToId !== id && (
+ href={routes.contract.view.replace(':id', renewedToId)}
+ >
renewed to
)}
- {latest &&
-
-
}
+ {latest && (
+
+
+
+ )}
)
}
diff --git a/apps/explorer/components/ContractSkeleton/index.tsx b/apps/explorer/components/ContractSkeleton/index.tsx
index 97cf6b21e..e265a82f6 100644
--- a/apps/explorer/components/ContractSkeleton/index.tsx
+++ b/apps/explorer/components/ContractSkeleton/index.tsx
@@ -3,7 +3,7 @@ import {
EntityList,
DatumSkeleton,
} from '@siafoundation/design-system'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
import { ContentLayout } from '../ContentLayout'
export function ContractSkeleton() {
diff --git a/apps/explorer/components/EntityHeading.tsx b/apps/explorer/components/EntityHeading.tsx
index 136afef95..b4a61301c 100644
--- a/apps/explorer/components/EntityHeading.tsx
+++ b/apps/explorer/components/EntityHeading.tsx
@@ -9,7 +9,7 @@ import {
EntityType,
} from '@siafoundation/design-system'
import { Copy16 } from '@siafoundation/react-icons'
-import { upperFirst } from 'lodash'
+import { upperFirst } from 'lodash-es'
type Props = {
label: string
diff --git a/apps/explorer/components/ExplorerDatum.tsx b/apps/explorer/components/ExplorerDatum.tsx
index 0332d2ddb..a21dfccd9 100644
--- a/apps/explorer/components/ExplorerDatum.tsx
+++ b/apps/explorer/components/ExplorerDatum.tsx
@@ -6,7 +6,7 @@ import {
EntityType,
} from '@siafoundation/design-system'
import BigNumber from 'bignumber.js'
-import { upperFirst } from 'lodash'
+import { upperFirst } from 'lodash-es'
import { getHref } from '../lib/utils'
// entityType&entityValue | value | values | sc | sf
@@ -55,7 +55,7 @@ export function ExplorerDatum({
? Number(entityValue).toLocaleString()
: entityValue
}
- // className="relative top-0.5"
+ // className="relative top-0.5"
/>
) : (
diff --git a/apps/explorer/components/Home/index.tsx b/apps/explorer/components/Home/index.tsx
index 6d6b9bc1f..b567a6091 100644
--- a/apps/explorer/components/Home/index.tsx
+++ b/apps/explorer/components/Home/index.tsx
@@ -9,7 +9,7 @@ import {
import { useMemo } from 'react'
import { routes } from '../../config/routes'
import { ContentLayout } from '../ContentLayout'
-import { reverse, sortBy } from 'lodash'
+import { reverse, sortBy } from 'lodash-es'
import {
SiaCentralBlock,
SiaCentralExchangeRates,
diff --git a/apps/explorer/components/HostSkeleton/index.tsx b/apps/explorer/components/HostSkeleton/index.tsx
index be0549c45..97149ce08 100644
--- a/apps/explorer/components/HostSkeleton/index.tsx
+++ b/apps/explorer/components/HostSkeleton/index.tsx
@@ -1,5 +1,5 @@
import { DatumSkeleton, Panel } from '@siafoundation/design-system'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
import { ContentLayout } from '../ContentLayout'
import { HostHeaderSkeleton } from './HostHeaderSkeleton'
diff --git a/apps/explorer/lib/blocks.ts b/apps/explorer/lib/blocks.ts
index 33584ce8a..b39dc5e91 100644
--- a/apps/explorer/lib/blocks.ts
+++ b/apps/explorer/lib/blocks.ts
@@ -4,7 +4,7 @@ import {
getSiaCentralBlock,
getSiaCentralBlocks,
} from '@siafoundation/sia-central'
-import { range } from 'lodash'
+import { range } from 'lodash-es'
export async function getLastFewBlocksOneByOne(block?: SiaCentralBlock) {
if (!block) {
diff --git a/apps/explorer/package.json b/apps/explorer/package.json
index 43aff68ad..adca2777e 100644
--- a/apps/explorer/package.json
+++ b/apps/explorer/package.json
@@ -1,7 +1,7 @@
{
"name": "explorer",
"description": "The `explorer` user interface, a Sia blockchain explorer interface that powers siascan.com.",
- "version": "0.10.0",
+ "version": "0.10.3",
"private": true,
"license": "MIT"
}
diff --git a/apps/hostd/CHANGELOG.md b/apps/hostd/CHANGELOG.md
index dcdb7d868..7d6ada5ce 100644
--- a/apps/hostd/CHANGELOG.md
+++ b/apps/hostd/CHANGELOG.md
@@ -1,5 +1,23 @@
# hostd
+## 0.31.3
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.31.2
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.31.1
+
+### Patch Changes
+
+- lodash es.
+
## 0.31.0
### Minor Changes
diff --git a/apps/hostd/components/Contracts/ContractsViewDropdownMenu.tsx b/apps/hostd/components/Contracts/ContractsViewDropdownMenu.tsx
index cae089057..c96678b0c 100644
--- a/apps/hostd/components/Contracts/ContractsViewDropdownMenu.tsx
+++ b/apps/hostd/components/Contracts/ContractsViewDropdownMenu.tsx
@@ -17,7 +17,7 @@ import {
} from '@siafoundation/react-icons'
import { SortField, sortOptions } from '../../contexts/contracts/types'
import { useContracts } from '../../contexts/contracts'
-import { groupBy } from 'lodash'
+import { groupBy } from 'lodash-es'
export function ContractsViewDropdownMenu() {
const {
diff --git a/apps/hostd/components/Node/Logs.tsx b/apps/hostd/components/Node/Logs.tsx
index a8e54d58c..3ce277588 100644
--- a/apps/hostd/components/Node/Logs.tsx
+++ b/apps/hostd/components/Node/Logs.tsx
@@ -9,7 +9,7 @@ import {
import { useLogsSearch } from '@siafoundation/react-hostd'
import { humanDate } from '@siafoundation/units'
import { cx } from 'class-variance-authority'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
const filters = []
diff --git a/apps/hostd/components/Node/index.tsx b/apps/hostd/components/Node/index.tsx
index b05642320..277252d1f 100644
--- a/apps/hostd/components/Node/index.tsx
+++ b/apps/hostd/components/Node/index.tsx
@@ -5,7 +5,7 @@ import { useDialog } from '../../contexts/dialog'
import { HostdSidenav } from '../HostdSidenav'
import { HostdAuthedLayout } from '../HostdAuthedLayout'
import { useMemo } from 'react'
-import { orderBy } from 'lodash'
+import { orderBy } from 'lodash-es'
import { useSyncStatus } from '../../hooks/useSyncStatus'
export function Node() {
diff --git a/apps/hostd/lib/system.ts b/apps/hostd/lib/system.ts
index c8dd71417..0e1ad567f 100644
--- a/apps/hostd/lib/system.ts
+++ b/apps/hostd/lib/system.ts
@@ -1,4 +1,4 @@
-import { trim, trimEnd } from 'lodash'
+import { trim, trimEnd } from 'lodash-es'
type Separator = '\\' | '/'
diff --git a/apps/hostd/package.json b/apps/hostd/package.json
index 7399ebb94..15e86291b 100644
--- a/apps/hostd/package.json
+++ b/apps/hostd/package.json
@@ -1,7 +1,7 @@
{
"name": "hostd",
"description": "The `hostd` user interface, dedicated to hosting related functionality.",
- "version": "0.31.0",
+ "version": "0.31.3",
"private": true,
"license": "MIT"
}
diff --git a/apps/renterd/CHANGELOG.md b/apps/renterd/CHANGELOG.md
index 92d9a051c..94660b240 100644
--- a/apps/renterd/CHANGELOG.md
+++ b/apps/renterd/CHANGELOG.md
@@ -1,5 +1,23 @@
# renterd
+## 0.38.3
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.38.2
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.38.1
+
+### Patch Changes
+
+- lodash es.
+
## 0.38.0
### Minor Changes
diff --git a/apps/renterd/components/Contracts/ContractsViewDropdownMenu.tsx b/apps/renterd/components/Contracts/ContractsViewDropdownMenu.tsx
index 718f95175..1a3f6acf9 100644
--- a/apps/renterd/components/Contracts/ContractsViewDropdownMenu.tsx
+++ b/apps/renterd/components/Contracts/ContractsViewDropdownMenu.tsx
@@ -17,7 +17,7 @@ import {
} from '@siafoundation/react-icons'
import { sortOptions, SortField } from '../../contexts/contracts/types'
import { useContracts } from '../../contexts/contracts'
-import { groupBy } from 'lodash'
+import { groupBy } from 'lodash-es'
export function ContractsViewDropdownMenu() {
const {
diff --git a/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx b/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx
index f14f85915..aba474c91 100644
--- a/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx
+++ b/apps/renterd/components/Files/Columns/FilesHealthColumn/FilesHealthColumnContents.tsx
@@ -6,7 +6,7 @@ import {
} from '@siafoundation/design-system'
import { useObject } from '@siafoundation/react-renterd'
import { cx } from 'class-variance-authority'
-import { sortBy } from 'lodash'
+import { sortBy } from 'lodash-es'
import { computeSlabContractSetShards } from '../../../../contexts/files/health'
import { ObjectData } from '../../../../contexts/files/types'
import { useHealthLabel } from '../../../../hooks/useHealthLabel'
diff --git a/apps/renterd/components/Files/FilesActionsMenu.tsx b/apps/renterd/components/Files/FilesActionsMenu.tsx
index d88f92674..6d80dbbf9 100644
--- a/apps/renterd/components/Files/FilesActionsMenu.tsx
+++ b/apps/renterd/components/Files/FilesActionsMenu.tsx
@@ -6,10 +6,12 @@ import {
Search16,
} from '@siafoundation/react-icons'
import { useFiles } from '../../contexts/files'
-import { useDropzone } from 'react-dropzone'
+import * as reactDropzone from 'react-dropzone'
import { FilesViewDropdownMenu } from './FilesViewDropdownMenu'
import { useDialog } from '../../contexts/dialog'
import { useCanUpload } from './useCanUpload'
+// esm compat
+const { useDropzone } = reactDropzone
export function FilesActionsMenu() {
const { openDialog } = useDialog()
diff --git a/apps/renterd/components/Files/FilesViewDropdownMenu.tsx b/apps/renterd/components/Files/FilesViewDropdownMenu.tsx
index e6386f94e..de41824d4 100644
--- a/apps/renterd/components/Files/FilesViewDropdownMenu.tsx
+++ b/apps/renterd/components/Files/FilesViewDropdownMenu.tsx
@@ -12,7 +12,7 @@ import {
import { CaretDown16, SettingsAdjust16 } from '@siafoundation/react-icons'
import { sortOptions, SortField } from '../../contexts/files/types'
import { useFiles } from '../../contexts/files'
-import { groupBy } from 'lodash'
+import { groupBy } from 'lodash-es'
export function FilesViewDropdownMenu() {
const {
diff --git a/apps/renterd/components/Hosts/HostMap/useRoutes.tsx b/apps/renterd/components/Hosts/HostMap/useRoutes.tsx
index 19a280c4b..bd419f9b7 100644
--- a/apps/renterd/components/Hosts/HostMap/useRoutes.tsx
+++ b/apps/renterd/components/Hosts/HostMap/useRoutes.tsx
@@ -1,5 +1,5 @@
import { useMemo } from 'react'
-import { random, sortBy } from 'lodash'
+import { random, sortBy } from 'lodash-es'
import { HostDataWithLocation } from '../../../contexts/hosts/types'
type Props = {
diff --git a/apps/renterd/contexts/files/dataset.tsx b/apps/renterd/contexts/files/dataset.tsx
index c9e8a907e..5fa55a7f9 100644
--- a/apps/renterd/contexts/files/dataset.tsx
+++ b/apps/renterd/contexts/files/dataset.tsx
@@ -3,7 +3,7 @@ import {
useBuckets,
useObjectDirectory,
} from '@siafoundation/react-renterd'
-import { sortBy, toPairs } from 'lodash'
+import { sortBy, toPairs } from 'lodash-es'
import useSWR from 'swr'
import { useContracts } from '../contracts'
import { ObjectData, SortField } from './types'
diff --git a/apps/renterd/contexts/files/downloads.tsx b/apps/renterd/contexts/files/downloads.tsx
index dec6f8bb7..cd65ea8c2 100644
--- a/apps/renterd/contexts/files/downloads.tsx
+++ b/apps/renterd/contexts/files/downloads.tsx
@@ -1,7 +1,7 @@
import { triggerErrorToast, triggerToast } from '@siafoundation/design-system'
import { useAppSettings } from '@siafoundation/react-core'
import { useBuckets, useObjectDownloadFunc } from '@siafoundation/react-renterd'
-import { throttle } from 'lodash'
+import { throttle } from 'lodash-es'
import { useCallback, useMemo, useState } from 'react'
import {
FullPath,
diff --git a/apps/renterd/contexts/files/health.ts b/apps/renterd/contexts/files/health.ts
index f4866b968..54119f530 100644
--- a/apps/renterd/contexts/files/health.ts
+++ b/apps/renterd/contexts/files/health.ts
@@ -1,5 +1,5 @@
import { Obj, SlabSlice } from '@siafoundation/react-renterd'
-import { min } from 'lodash'
+import { min } from 'lodash-es'
import { ContractData } from '../contracts/types'
export function getObjectHealth(
diff --git a/apps/renterd/contexts/files/uploads.tsx b/apps/renterd/contexts/files/uploads.tsx
index 9bc66058e..b98e5ee2f 100644
--- a/apps/renterd/contexts/files/uploads.tsx
+++ b/apps/renterd/contexts/files/uploads.tsx
@@ -4,7 +4,7 @@ import {
triggerToast,
} from '@siafoundation/design-system'
import { useBuckets, useObjectUpload } from '@siafoundation/react-renterd'
-import { throttle } from 'lodash'
+import { throttle } from 'lodash-es'
import { useCallback, useMemo, useState } from 'react'
import { ObjectData } from './types'
import {
diff --git a/apps/renterd/package.json b/apps/renterd/package.json
index d523cf5db..961f59a41 100644
--- a/apps/renterd/package.json
+++ b/apps/renterd/package.json
@@ -1,7 +1,7 @@
{
"name": "renterd",
"description": "The `renterd` user interface, dedicated to renter related functionality.",
- "version": "0.38.0",
+ "version": "0.38.3",
"private": true,
"license": "MIT"
}
diff --git a/apps/walletd/CHANGELOG.md b/apps/walletd/CHANGELOG.md
index 645031095..9ca66ecd9 100644
--- a/apps/walletd/CHANGELOG.md
+++ b/apps/walletd/CHANGELOG.md
@@ -1,5 +1,29 @@
# walletd
+## 0.15.4
+
+### Patch Changes
+
+- esm
+
+## 0.15.3
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.15.2
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.15.1
+
+### Patch Changes
+
+- lodash es.
+
## 0.15.0
### Minor Changes
diff --git a/apps/walletd/components/WalletAddresses/AddressesViewDropdownMenu.tsx b/apps/walletd/components/WalletAddresses/AddressesViewDropdownMenu.tsx
index 1f71ecbef..186ededf8 100644
--- a/apps/walletd/components/WalletAddresses/AddressesViewDropdownMenu.tsx
+++ b/apps/walletd/components/WalletAddresses/AddressesViewDropdownMenu.tsx
@@ -16,7 +16,7 @@ import {
Reset16,
} from '@siafoundation/react-icons'
import { SortField, sortOptions } from '../../contexts/addresses/types'
-import { groupBy } from 'lodash'
+import { groupBy } from 'lodash-es'
import { useAddresses } from '../../contexts/addresses'
export function AddressesViewDropdownMenu() {
diff --git a/apps/walletd/components/WalletsList/WalletsViewDropdownMenu.tsx b/apps/walletd/components/WalletsList/WalletsViewDropdownMenu.tsx
index faeefec1d..1d891773b 100644
--- a/apps/walletd/components/WalletsList/WalletsViewDropdownMenu.tsx
+++ b/apps/walletd/components/WalletsList/WalletsViewDropdownMenu.tsx
@@ -17,7 +17,7 @@ import {
} from '@siafoundation/react-icons'
import { SortField, sortOptions } from '../../contexts/wallets/types'
import { useWallets } from '../../contexts/wallets'
-import { groupBy } from 'lodash'
+import { groupBy } from 'lodash-es'
export function WalletsViewDropdownMenu() {
const {
diff --git a/apps/walletd/dialogs/WalletAddressesAddDialog.tsx b/apps/walletd/dialogs/WalletAddressesAddDialog.tsx
index 70b0fdd8a..7bd5fe9fc 100644
--- a/apps/walletd/dialogs/WalletAddressesAddDialog.tsx
+++ b/apps/walletd/dialogs/WalletAddressesAddDialog.tsx
@@ -14,7 +14,7 @@ import { useForm } from 'react-hook-form'
import { useDialogFormHelpers } from '../hooks/useDialogFormHelpers'
import { useWallets } from '../contexts/wallets'
import { isValidAddress } from '@siafoundation/units'
-import { uniq } from 'lodash'
+import { uniq } from 'lodash-es'
export type WalletAddressesAddDialogParams = {
walletId: string
diff --git a/apps/walletd/package.json b/apps/walletd/package.json
index 1010cb687..043aff720 100644
--- a/apps/walletd/package.json
+++ b/apps/walletd/package.json
@@ -1,7 +1,7 @@
{
"name": "walletd",
"description": "The `walletd` user interface, includes a wallet with support for hot, cold, and hardware wallets.",
- "version": "0.15.0",
+ "version": "0.15.4",
"private": true,
"license": "MIT"
}
diff --git a/apps/website/CHANGELOG.md b/apps/website/CHANGELOG.md
index 38de2c4b0..acd2da7db 100644
--- a/apps/website/CHANGELOG.md
+++ b/apps/website/CHANGELOG.md
@@ -1,5 +1,23 @@
# website
+## 0.46.3
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.46.2
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.46.1
+
+### Patch Changes
+
+- lodash es.
+
## 0.46.0
### Minor Changes
diff --git a/apps/website/components/CalloutProject.tsx b/apps/website/components/CalloutProject.tsx
index 1f90c6826..f3d904173 100644
--- a/apps/website/components/CalloutProject.tsx
+++ b/apps/website/components/CalloutProject.tsx
@@ -6,7 +6,7 @@ import {
webLinks,
WebDomain,
} from '@siafoundation/design-system'
-import { random } from 'lodash'
+import { random } from 'lodash-es'
import Image from 'next/image'
import { useRouter } from 'next/router'
import { useMemo } from 'react'
diff --git a/apps/website/components/CalloutTutorial.tsx b/apps/website/components/CalloutTutorial.tsx
index 6a7ba28db..1004b873a 100644
--- a/apps/website/components/CalloutTutorial.tsx
+++ b/apps/website/components/CalloutTutorial.tsx
@@ -6,7 +6,7 @@ import {
Text,
WebDomain,
} from '@siafoundation/design-system'
-import { random } from 'lodash'
+import { random } from 'lodash-es'
import Image from 'next/image'
import { useMemo } from 'react'
import { routes } from '../config/routes'
diff --git a/apps/website/components/HostMap/Globe.tsx b/apps/website/components/HostMap/Globe.tsx
index 96eee6506..17bccffe8 100644
--- a/apps/website/components/HostMap/Globe.tsx
+++ b/apps/website/components/HostMap/Globe.tsx
@@ -9,7 +9,7 @@ import {
} from 'react'
import dynamic from 'next/dynamic'
import { GlobeMethods } from 'react-globe.gl'
-import { random, sortBy } from 'lodash'
+import { random, sortBy } from 'lodash-es'
import { getHostLabel } from './utils'
import { SiaCentralPartialHost } from '../../content/geoHosts'
import { getAssetUrl } from '../../content/assets'
diff --git a/apps/website/components/HostMap/index.tsx b/apps/website/components/HostMap/index.tsx
index b7886dae5..f5ad1e456 100644
--- a/apps/website/components/HostMap/index.tsx
+++ b/apps/website/components/HostMap/index.tsx
@@ -8,7 +8,7 @@ import {
useAppSettings,
usePrefersReducedMotion,
} from '@siafoundation/react-core'
-import { random, throttle } from 'lodash'
+import { random, throttle } from 'lodash-es'
import { HostItem } from './HostItem'
import { Globe } from './Globe'
import { cx } from 'class-variance-authority'
diff --git a/apps/website/components/Map/useRoutes.tsx b/apps/website/components/Map/useRoutes.tsx
index 13e83233b..8ba49004b 100644
--- a/apps/website/components/Map/useRoutes.tsx
+++ b/apps/website/components/Map/useRoutes.tsx
@@ -1,5 +1,5 @@
import { useMemo } from 'react'
-import { random, sortBy } from 'lodash'
+import { random, sortBy } from 'lodash-es'
import { SiaCentralPartialHost } from '../../content/geoHosts'
type Props = {
diff --git a/apps/website/content/reports.ts b/apps/website/content/reports.ts
index 9cb262ca4..1c7e91198 100644
--- a/apps/website/content/reports.ts
+++ b/apps/website/content/reports.ts
@@ -1,5 +1,5 @@
import fs from 'fs'
-import { toPairs } from 'lodash'
+import { toPairs } from 'lodash-es'
import { webLinks } from '@siafoundation/design-system'
import { getMinutesInSeconds } from '../lib/time'
import { getCacheValue } from '../lib/cache'
diff --git a/apps/website/hooks/useScrollTop.tsx b/apps/website/hooks/useScrollTop.tsx
index d52b40761..978360c36 100644
--- a/apps/website/hooks/useScrollTop.tsx
+++ b/apps/website/hooks/useScrollTop.tsx
@@ -1,4 +1,4 @@
-import { throttle } from 'lodash'
+import { throttle } from 'lodash-es'
import { useEffect, useState } from 'react'
export function useScrollTop() {
diff --git a/apps/website/package.json b/apps/website/package.json
index e2b1a8f8a..da9b0f6ce 100644
--- a/apps/website/package.json
+++ b/apps/website/package.json
@@ -1,7 +1,7 @@
{
"name": "website",
"description": "The main sia.tech website with information on the Sia project and the Sia Foundation.",
- "version": "0.46.0",
+ "version": "0.46.3",
"private": true,
"license": "MIT"
}
diff --git a/libs/data-sources/CHANGELOG.md b/libs/data-sources/CHANGELOG.md
index d3a47f20e..f0a9203ed 100644
--- a/libs/data-sources/CHANGELOG.md
+++ b/libs/data-sources/CHANGELOG.md
@@ -1,5 +1,23 @@
# Changelog
+## 0.2.3
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.2.2
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.2.1
+
+### Patch Changes
+
+- lodash es.
+
## 0.2.0
### Minor Changes
diff --git a/libs/data-sources/package.json b/libs/data-sources/package.json
index bbded960e..425a450ec 100644
--- a/libs/data-sources/package.json
+++ b/libs/data-sources/package.json
@@ -1,12 +1,12 @@
{
"name": "@siafoundation/data-sources",
"description": "Data sources used for stats on the website.",
- "version": "0.2.0",
+ "version": "0.2.3",
"private": true,
"license": "MIT",
"peerDependencies": {
"axios": "^0.27.2",
- "lodash": "^4.17.21"
+ "lodash-es": "^4.17.21"
},
"dependencies": {
"feed": "^4.2.2",
diff --git a/libs/data-sources/src/lib/github.ts b/libs/data-sources/src/lib/github.ts
index 3f216069f..847645a8a 100644
--- a/libs/data-sources/src/lib/github.ts
+++ b/libs/data-sources/src/lib/github.ts
@@ -1,5 +1,5 @@
import Axios from 'axios'
-import { orderBy } from 'lodash'
+import { orderBy } from 'lodash-es'
import { buildErrorResponse500 } from './error'
import { AsyncDataSourceResponse } from './types'
diff --git a/libs/design-system/CHANGELOG.md b/libs/design-system/CHANGELOG.md
index 3d1f221ba..c4b12feb7 100644
--- a/libs/design-system/CHANGELOG.md
+++ b/libs/design-system/CHANGELOG.md
@@ -1,5 +1,111 @@
# Changelog
+## 1.0.15
+
+### Patch Changes
+
+- esm
+
+## 1.0.14
+
+### Patch Changes
+
+- esm
+- Updated dependencies
+ - @siafoundation/react-core@0.16.10
+
+## 1.0.13
+
+### Patch Changes
+
+- esm clipboard
+
+## 1.0.12
+
+### Patch Changes
+
+- esm
+
+## 1.0.11
+
+### Patch Changes
+
+- esm compat.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.9
+
+## 1.0.10
+
+### Patch Changes
+
+- tailwind esm support.
+
+## 1.0.9
+
+### Patch Changes
+
+- esm lodash support.
+- Updated dependencies
+ - @siafoundation/next@0.0.5
+ - @siafoundation/react-core@0.16.8
+ - @siafoundation/react-icons@0.1.5
+ - @siafoundation/react-sia-central@1.0.5
+ - @siafoundation/types@0.0.6
+ - @siafoundation/units@1.0.5
+
+## 1.0.8
+
+### Patch Changes
+
+- lodash esm.
+- Updated dependencies
+ - @siafoundation/next@0.0.4
+ - @siafoundation/react-core@0.16.7
+ - @siafoundation/react-icons@0.1.4
+ - @siafoundation/react-sia-central@1.0.4
+ - @siafoundation/types@0.0.5
+ - @siafoundation/units@1.0.4
+
+## 1.0.7
+
+### Patch Changes
+
+- lodash es.
+- Updated dependencies
+ - @siafoundation/next@0.0.3
+ - @siafoundation/react-core@0.16.6
+ - @siafoundation/react-icons@0.1.3
+ - @siafoundation/react-sia-central@1.0.3
+ - @siafoundation/types@0.0.4
+ - @siafoundation/units@1.0.3
+
+## 1.0.6
+
+### Patch Changes
+
+- detect-gpu esm support.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.5
+
+## 1.0.5
+
+### Patch Changes
+
+- Import tailwind colors as .js.
+
+## 1.0.4
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+- Updated dependencies [4294302f]
+ - @siafoundation/next@0.0.2
+ - @siafoundation/react-core@0.16.4
+ - @siafoundation/react-icons@0.1.2
+ - @siafoundation/react-sia-central@1.0.2
+ - @siafoundation/types@0.0.3
+ - @siafoundation/units@1.0.2
+
## 1.0.0
### Minor Changes
diff --git a/libs/design-system/package.json b/libs/design-system/package.json
index 043d0ebed..62feacac9 100644
--- a/libs/design-system/package.json
+++ b/libs/design-system/package.json
@@ -1,19 +1,18 @@
{
"name": "@siafoundation/design-system",
"description": "React-based design system used across Sia apps and websites",
- "version": "1.0.0",
+ "version": "1.0.15",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-icons": "^0.1.0",
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/units": "^1.0.0",
- "@siafoundation/types": "^0.0.1",
- "@siafoundation/next": "^0.0.1",
- "@siafoundation/react-sia-central": "^1.0.0",
+ "@siafoundation/react-icons": "^0.1.5",
+ "@siafoundation/react-core": "^0.16.10",
+ "@siafoundation/units": "^1.0.5",
+ "@siafoundation/types": "^0.0.6",
+ "@siafoundation/next": "^0.0.5",
+ "@siafoundation/react-sia-central": "^1.0.5",
"react": "^18.2.0",
"swr": "^2.1.1",
"class-variance-authority": "^0.7.0",
- "lodash": "^4.17.21",
"bignumber.js": "^9.0.2",
"axios": "^0.27.2",
"react-hook-form": "^7.43.9",
@@ -22,7 +21,8 @@
"tailwind-scrollbar": "^2.0.1",
"tailwindcss-text-fill": "^0.2.0",
"tailwindcss-shadow-fill": "^1.0.1",
- "@tailwindcss/container-queries": "^0.1.1"
+ "@tailwindcss/container-queries": "^0.1.1",
+ "lodash-es": "^4.17.21"
},
"dependencies": {
"@visx/group": "2.17.0",
diff --git a/libs/design-system/src/app/AlertsDialog/index.tsx b/libs/design-system/src/app/AlertsDialog/index.tsx
index 5202515bd..05bd64bc4 100644
--- a/libs/design-system/src/app/AlertsDialog/index.tsx
+++ b/libs/design-system/src/app/AlertsDialog/index.tsx
@@ -9,7 +9,7 @@ import { Text } from '../../core/Text'
import { useDatasetEmptyState } from '../../hooks/useDatasetEmptyState'
import { humanDate } from '@siafoundation/units'
import { cx } from 'class-variance-authority'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
import { useCallback, useMemo, useState } from 'react'
import { StateEmpty } from './StateEmpty'
import { SWRResponse } from 'swr'
diff --git a/libs/design-system/src/app/AppLogin.tsx b/libs/design-system/src/app/AppLogin.tsx
index fff1f5951..e21e47879 100644
--- a/libs/design-system/src/app/AppLogin.tsx
+++ b/libs/design-system/src/app/AppLogin.tsx
@@ -16,7 +16,7 @@ import { RecentlyViewed16, Settings16 } from '@siafoundation/react-icons'
import { Button } from '../core/Button'
import { Panel } from '../core/Panel'
import { ControlGroup } from '../core/ControlGroup'
-import { sortBy } from 'lodash'
+import { sortBy } from 'lodash-es'
function getDefaultValues(api: string) {
return {
diff --git a/libs/design-system/src/app/MenuSectionLabelToggleAll.tsx b/libs/design-system/src/app/MenuSectionLabelToggleAll.tsx
index 43db2b396..2d1de76de 100644
--- a/libs/design-system/src/app/MenuSectionLabelToggleAll.tsx
+++ b/libs/design-system/src/app/MenuSectionLabelToggleAll.tsx
@@ -2,7 +2,7 @@ import { View16, ViewOff16 } from '@siafoundation/react-icons'
import { Button } from '../core/Button'
import { Label } from '../core/Label'
import { BaseMenuItem, MenuItemRightSlot } from '../core/Menu'
-import { difference } from 'lodash'
+import { difference } from 'lodash-es'
export function MenuSectionLabelToggleAll({
label,
diff --git a/libs/design-system/src/app/TransactionDetailsDialog.tsx b/libs/design-system/src/app/TransactionDetailsDialog.tsx
index a08b41945..895ad8f5f 100644
--- a/libs/design-system/src/app/TransactionDetailsDialog.tsx
+++ b/libs/design-system/src/app/TransactionDetailsDialog.tsx
@@ -7,7 +7,7 @@ import { Dialog } from '../core/Dialog'
import { getTitleId } from '../lib/utils'
import { Transaction } from '@siafoundation/types'
import { getTxTypeLabel, TxType } from '../lib/entityTypes'
-import { upperFirst } from 'lodash'
+import { upperFirst } from 'lodash-es'
type Props = {
id: string
diff --git a/libs/design-system/src/components/ChartBrush/index.tsx b/libs/design-system/src/components/ChartBrush/index.tsx
index 6aca9a337..293635e6d 100644
--- a/libs/design-system/src/components/ChartBrush/index.tsx
+++ b/libs/design-system/src/components/ChartBrush/index.tsx
@@ -6,7 +6,7 @@ import { PatternLines } from '@visx/pattern'
import { Brush } from '@visx/brush'
import { Bounds } from '@visx/brush/lib/types'
import BaseBrush from '@visx/brush/lib/BaseBrush'
-import ParentSize from '@visx/responsive/lib/components/ParentSize'
+import { ParentSize } from '@visx/responsive'
import { AreaChart } from '../ChartTimeValue/AreaChart'
import { Panel } from '../../core/Panel'
import { daysInMilliseconds } from '../../lib/time'
diff --git a/libs/design-system/src/components/ChartTimeValue/index.tsx b/libs/design-system/src/components/ChartTimeValue/index.tsx
index 8593d78f8..dbadd3310 100644
--- a/libs/design-system/src/components/ChartTimeValue/index.tsx
+++ b/libs/design-system/src/components/ChartTimeValue/index.tsx
@@ -16,11 +16,11 @@ import { WithTooltipProvidedProps } from '@visx/tooltip/lib/enhancers/withToolti
import { localPoint } from '@visx/event'
import { LinearGradient } from '@visx/gradient'
import { max, extent, bisector, min } from 'd3-array'
-import ParentSize from '@visx/responsive/lib/components/ParentSize'
+import { ParentSize } from '@visx/responsive'
import { Button } from '../../core/Button'
import { Text } from '../../core/Text'
import { Tooltip as DsTooltip } from '../../core/Tooltip'
-import { throttle } from 'lodash'
+import { throttle } from 'lodash-es'
import { AreaChart } from './AreaChart'
import { Reset16 } from '@siafoundation/react-icons'
import { Panel } from '../../core/Panel'
diff --git a/libs/design-system/src/components/ChartXY/ChartXYGraph.tsx b/libs/design-system/src/components/ChartXY/ChartXYGraph.tsx
index 865d6a7c2..f4b810ce8 100644
--- a/libs/design-system/src/components/ChartXY/ChartXYGraph.tsx
+++ b/libs/design-system/src/components/ChartXY/ChartXYGraph.tsx
@@ -7,7 +7,7 @@ import { ChartXYProps } from './useChartXY'
import { Separator } from '../../core/Separator'
import { PatternLines } from '@visx/pattern'
import { cx } from 'class-variance-authority'
-import { groupBy } from 'lodash'
+import { groupBy } from 'lodash-es'
import { ChartConfig, ChartPoint } from './types'
import { humanDate } from '@siafoundation/units'
diff --git a/libs/design-system/src/components/ChartXY/index.tsx b/libs/design-system/src/components/ChartXY/index.tsx
index b86323585..6eef31255 100644
--- a/libs/design-system/src/components/ChartXY/index.tsx
+++ b/libs/design-system/src/components/ChartXY/index.tsx
@@ -1,6 +1,6 @@
'use client'
-import ParentSize from '@visx/responsive/lib/components/ParentSize'
+import { ParentSize } from '@visx/responsive'
import { Panel } from '../../core/Panel'
import { ChartXYGraph } from './ChartXYGraph'
import {
diff --git a/libs/design-system/src/components/ChartXY/useChartXY.tsx b/libs/design-system/src/components/ChartXY/useChartXY.tsx
index ffd86aef1..2301de2bb 100644
--- a/libs/design-system/src/components/ChartXY/useChartXY.tsx
+++ b/libs/design-system/src/components/ChartXY/useChartXY.tsx
@@ -8,7 +8,7 @@ import { RenderTooltipGlyphProps } from '@visx/xychart/lib/components/Tooltip'
import { lightTheme, darkTheme } from './customTheme'
import { getChartComponents } from './getChartComponents'
import { useTheme } from 'next-themes'
-import { omit } from 'lodash'
+import { omit } from 'lodash-es'
import {
ChartConfig,
ChartData,
diff --git a/libs/design-system/src/components/DatumCard.tsx b/libs/design-system/src/components/DatumCard.tsx
index 2b873f55d..2f0d70b4e 100644
--- a/libs/design-system/src/components/DatumCard.tsx
+++ b/libs/design-system/src/components/DatumCard.tsx
@@ -3,7 +3,7 @@ import { ValueSf } from '../components/ValueSf'
import { ValueCopyable } from '../components/ValueCopyable'
import { Tooltip } from '../core/Tooltip'
import BigNumber from 'bignumber.js'
-import { upperFirst } from 'lodash'
+import { upperFirst } from 'lodash-es'
import { Panel } from '../core/Panel'
import { EntityType, getEntityTypeLabel } from '../lib/entityTypes'
import { cx } from 'class-variance-authority'
diff --git a/libs/design-system/src/components/Dropzone.tsx b/libs/design-system/src/components/Dropzone.tsx
index 1a4303096..e9a7eb103 100644
--- a/libs/design-system/src/components/Dropzone.tsx
+++ b/libs/design-system/src/components/Dropzone.tsx
@@ -1,6 +1,9 @@
import { cx } from 'class-variance-authority'
-import { DropzoneOptions, useDropzone } from 'react-dropzone'
+import * as reactDropzone from 'react-dropzone'
+import type { DropzoneOptions } from 'react-dropzone'
import { Paragraph } from '../core/Paragraph'
+// esm compat
+const { useDropzone } = reactDropzone
type Props = {
title?: React.ReactNode
diff --git a/libs/design-system/src/components/EntityListItem.tsx b/libs/design-system/src/components/EntityListItem.tsx
index 2d9cfbd83..bcf71a0d8 100644
--- a/libs/design-system/src/components/EntityListItem.tsx
+++ b/libs/design-system/src/components/EntityListItem.tsx
@@ -12,7 +12,7 @@ import {
} from '../lib/entityTypes'
import { humanNumber } from '@siafoundation/units'
import { formatDistance } from 'date-fns'
-import { upperFirst } from 'lodash'
+import { upperFirst } from 'lodash-es'
import BigNumber from 'bignumber.js'
import { DotMark16 } from '@siafoundation/react-icons'
import { EntityListItemLayout } from './EntityListItemLayout'
diff --git a/libs/design-system/src/components/EntityListSkeleton.tsx b/libs/design-system/src/components/EntityListSkeleton.tsx
index 9eeda1c99..dc1b7f746 100644
--- a/libs/design-system/src/components/EntityListSkeleton.tsx
+++ b/libs/design-system/src/components/EntityListSkeleton.tsx
@@ -1,5 +1,5 @@
import { Skeleton } from '../core/Skeleton'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
import { cx } from 'class-variance-authority'
export function EntityListSkeleton({ skeletonCount = 10 }) {
diff --git a/libs/design-system/src/components/Table.tsx b/libs/design-system/src/components/Table.tsx
index 878f6677c..d35826038 100644
--- a/libs/design-system/src/components/Table.tsx
+++ b/libs/design-system/src/components/Table.tsx
@@ -4,7 +4,7 @@ import { Text } from '../core/Text'
import { useCallback } from 'react'
import { cx } from 'class-variance-authority'
import { CaretDown16, CaretUp16 } from '@siafoundation/react-icons'
-import { times } from 'lodash'
+import { times } from 'lodash-es'
type Data = {
id: string
diff --git a/libs/design-system/src/config/colors.ts b/libs/design-system/src/config/colors.ts
index 3514965c7..45ae7bba8 100644
--- a/libs/design-system/src/config/colors.ts
+++ b/libs/design-system/src/config/colors.ts
@@ -1,4 +1,6 @@
-import {
+// .js for esm compat
+import * as defaultColors from 'tailwindcss/colors.js'
+const {
inherit,
current,
transparent,
@@ -26,7 +28,7 @@ import {
fuchsia,
pink,
rose,
-} from 'tailwindcss/colors'
+} = defaultColors
// manually sync with theme-colors.js
export const colors = {
diff --git a/libs/design-system/src/form/configurationFields.ts b/libs/design-system/src/form/configurationFields.ts
index e57334645..af557fbf9 100644
--- a/libs/design-system/src/form/configurationFields.ts
+++ b/libs/design-system/src/form/configurationFields.ts
@@ -1,5 +1,5 @@
import BigNumber from 'bignumber.js'
-import { entries } from 'lodash'
+import { entries } from 'lodash-es'
import React, { MouseEvent, useCallback } from 'react'
import {
FieldErrors,
diff --git a/libs/design-system/src/hooks/useSorting.ts b/libs/design-system/src/hooks/useSorting.ts
index a3d3c0245..086c20a14 100644
--- a/libs/design-system/src/hooks/useSorting.ts
+++ b/libs/design-system/src/hooks/useSorting.ts
@@ -1,6 +1,6 @@
'use client'
-import { intersection } from 'lodash'
+import { intersection } from 'lodash-es'
import { useCallback, useMemo } from 'react'
import useLocalStorageState from 'use-local-storage-state'
diff --git a/libs/design-system/src/hooks/useTableState.ts b/libs/design-system/src/hooks/useTableState.ts
index 78f9dd88c..96ca8a9c7 100644
--- a/libs/design-system/src/hooks/useTableState.ts
+++ b/libs/design-system/src/hooks/useTableState.ts
@@ -1,6 +1,6 @@
'use client'
-import { difference, intersection, uniq } from 'lodash'
+import { difference, intersection, uniq } from 'lodash-es'
import { useCallback, useMemo } from 'react'
import useLocalStorageState from 'use-local-storage-state'
import { useSorting } from './useSorting'
diff --git a/libs/design-system/src/lib/chartData.ts b/libs/design-system/src/lib/chartData.ts
index 70d092f08..81cb2c978 100644
--- a/libs/design-system/src/lib/chartData.ts
+++ b/libs/design-system/src/lib/chartData.ts
@@ -1,5 +1,5 @@
import { humanDate } from '@siafoundation/units'
-import { omit } from 'lodash'
+import { omit } from 'lodash-es'
import { ChartPoint } from '../components/ChartXY'
import {
daysInMilliseconds,
diff --git a/libs/design-system/src/lib/chartStats.ts b/libs/design-system/src/lib/chartStats.ts
index 32ec60ede..28b24cbee 100644
--- a/libs/design-system/src/lib/chartStats.ts
+++ b/libs/design-system/src/lib/chartStats.ts
@@ -1,5 +1,5 @@
import { ChartPoint } from '../components/ChartXY'
-import { omit } from 'lodash'
+import { omit } from 'lodash-es'
type KeyStats = {
average: number
diff --git a/libs/design-system/src/lib/clipboard.ts b/libs/design-system/src/lib/clipboard.ts
index 0f3ab99bd..a3aa6c446 100644
--- a/libs/design-system/src/lib/clipboard.ts
+++ b/libs/design-system/src/lib/clipboard.ts
@@ -1,4 +1,3 @@
-import * as clipboard from 'clipboard-polyfill/text'
import React from 'react'
import { ToastOptions, triggerToast, triggerToastNode } from './toast'
@@ -7,7 +6,7 @@ export const copyToClipboard = (text: string, entity?: string) => {
? `Copied ${entity} to clipboard`
: 'Copied to clipboard'
triggerToast(message)
- clipboard.writeText(text)
+ navigator.clipboard.writeText(text)
}
export const copyToClipboardCustom = (
@@ -16,5 +15,5 @@ export const copyToClipboardCustom = (
options?: ToastOptions
) => {
triggerToastNode(message, options)
- clipboard.writeText(text)
+ navigator.clipboard.writeText(text)
}
diff --git a/libs/design-system/src/site/ContentGallery.tsx b/libs/design-system/src/site/ContentGallery.tsx
index ffca4cfa2..d6e524579 100644
--- a/libs/design-system/src/site/ContentGallery.tsx
+++ b/libs/design-system/src/site/ContentGallery.tsx
@@ -1,7 +1,7 @@
'use client'
import { cx } from 'class-variance-authority'
-import { uniq } from 'lodash'
+import { uniq } from 'lodash-es'
import { usePagesRouter } from '@siafoundation/next'
import { useCallback, useMemo } from 'react'
import { Badge } from '../core/Badge'
diff --git a/libs/fonts/CHANGELOG.md b/libs/fonts/CHANGELOG.md
index cb440ad39..6b07c1bd7 100644
--- a/libs/fonts/CHANGELOG.md
+++ b/libs/fonts/CHANGELOG.md
@@ -1,5 +1,29 @@
# @siafoundation/fonts
+## 0.1.5
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.1.4
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.1.3
+
+### Patch Changes
+
+- lodash es.
+
+## 0.1.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+
## 0.1.0
### Minor Changes
diff --git a/libs/fonts/package.json b/libs/fonts/package.json
index 803f7e6d4..914002d3d 100644
--- a/libs/fonts/package.json
+++ b/libs/fonts/package.json
@@ -1,7 +1,7 @@
{
"name": "@siafoundation/fonts",
"description": "Next font configuration for use across apps.",
- "version": "0.1.0",
+ "version": "0.1.5",
"license": "MIT",
"peerDependencies": {
"class-variance-authority": "^0.7.0",
diff --git a/libs/next/CHANGELOG.md b/libs/next/CHANGELOG.md
index 7f58aa41b..3f8f11ade 100644
--- a/libs/next/CHANGELOG.md
+++ b/libs/next/CHANGELOG.md
@@ -1 +1,25 @@
# @siafoundation/next
+
+## 0.0.5
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.0.4
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.0.3
+
+### Patch Changes
+
+- lodash es.
+
+## 0.0.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
diff --git a/libs/next/package.json b/libs/next/package.json
index 813d78a0c..5ed607887 100644
--- a/libs/next/package.json
+++ b/libs/next/package.json
@@ -1,7 +1,7 @@
{
"name": "@siafoundation/next",
"description": "NextJS wrappers for build compatibility.",
- "version": "0.0.1",
+ "version": "0.0.5",
"license": "MIT",
"peerDependencies": {
"next": "^13.5.2"
diff --git a/libs/react-core/CHANGELOG.md b/libs/react-core/CHANGELOG.md
index 9b011b1f8..f408ecdaf 100644
--- a/libs/react-core/CHANGELOG.md
+++ b/libs/react-core/CHANGELOG.md
@@ -1,5 +1,55 @@
# @siafoundation/react-core
+## 0.16.10
+
+### Patch Changes
+
+- esm
+
+## 0.16.9
+
+### Patch Changes
+
+- esm compat.
+
+## 0.16.8
+
+### Patch Changes
+
+- esm lodash support.
+- Updated dependencies
+ - @siafoundation/next@0.0.5
+
+## 0.16.7
+
+### Patch Changes
+
+- lodash esm.
+- Updated dependencies
+ - @siafoundation/next@0.0.4
+
+## 0.16.6
+
+### Patch Changes
+
+- lodash es.
+- Updated dependencies
+ - @siafoundation/next@0.0.3
+
+## 0.16.5
+
+### Patch Changes
+
+- detect-gpu esm support.
+
+## 0.16.4
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+- Updated dependencies [4294302f]
+ - @siafoundation/next@0.0.2
+
## 0.16.0
### Minor Changes
diff --git a/libs/react-core/package.json b/libs/react-core/package.json
index 1e204c941..e4cdb2c79 100644
--- a/libs/react-core/package.json
+++ b/libs/react-core/package.json
@@ -1,14 +1,14 @@
{
"name": "@siafoundation/react-core",
"description": "Core library for building React hooks for interacting with a Sia daemon.",
- "version": "0.16.0",
+ "version": "0.16.10",
"license": "MIT",
"peerDependencies": {
"react": "^18.2.0",
"swr": "^2.1.1",
"axios": "^0.27.2",
"use-local-storage-state": "^18.3.3",
- "@siafoundation/next": "^0.0.1"
+ "@siafoundation/next": "^0.0.5"
},
"dependencies": {
"detect-gpu": "^5.0.34"
diff --git a/libs/react-core/src/useAppSettings/useGpuFeatures.tsx b/libs/react-core/src/useAppSettings/useGpuFeatures.tsx
index 7ee062050..0e10e4b1c 100644
--- a/libs/react-core/src/useAppSettings/useGpuFeatures.tsx
+++ b/libs/react-core/src/useAppSettings/useGpuFeatures.tsx
@@ -1,7 +1,9 @@
import { useCallback, useEffect, useState } from 'react'
import useLocalStorageState from 'use-local-storage-state'
-import { getGPUTier } from 'detect-gpu'
+import * as detectGpu from 'detect-gpu'
import { usePrefersReducedMotion } from '../userPrefersReducedMotion'
+// esm compat
+const { getGPUTier } = detectGpu
export function useGpuFeatures() {
const reduceMotion = usePrefersReducedMotion()
diff --git a/libs/react-hostd/CHANGELOG.md b/libs/react-hostd/CHANGELOG.md
index 0fe9cd94a..7a988d843 100644
--- a/libs/react-hostd/CHANGELOG.md
+++ b/libs/react-hostd/CHANGELOG.md
@@ -1,5 +1,41 @@
# @siafoundation/react-hostd
+## 1.0.5
+
+### Patch Changes
+
+- esm lodash support.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.8
+ - @siafoundation/types@0.0.6
+
+## 1.0.4
+
+### Patch Changes
+
+- lodash esm.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.7
+ - @siafoundation/types@0.0.5
+
+## 1.0.3
+
+### Patch Changes
+
+- lodash es.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.6
+ - @siafoundation/types@0.0.4
+
+## 1.0.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+- Updated dependencies [4294302f]
+ - @siafoundation/react-core@0.16.4
+ - @siafoundation/types@0.0.3
+
## 1.0.0
### Minor Changes
diff --git a/libs/react-hostd/package.json b/libs/react-hostd/package.json
index e765b5ce9..5732e04fa 100644
--- a/libs/react-hostd/package.json
+++ b/libs/react-hostd/package.json
@@ -1,12 +1,12 @@
{
"name": "@siafoundation/react-hostd",
"description": " React hooks for interacting with `hostd`.",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
"swr": "^2.1.1",
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/types": "^0.0.1"
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/types": "^0.0.6"
},
"types": "./src/index.d.ts"
}
diff --git a/libs/react-icons/CHANGELOG.md b/libs/react-icons/CHANGELOG.md
index ae7989cf1..7272374a2 100644
--- a/libs/react-icons/CHANGELOG.md
+++ b/libs/react-icons/CHANGELOG.md
@@ -1,5 +1,29 @@
# @siafoundation/react-icons
+## 0.1.5
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.1.4
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.1.3
+
+### Patch Changes
+
+- lodash es.
+
+## 0.1.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+
## 0.1.0
### Minor Changes
diff --git a/libs/react-icons/package.json b/libs/react-icons/package.json
index 7a76705e3..2f45e0f4b 100644
--- a/libs/react-icons/package.json
+++ b/libs/react-icons/package.json
@@ -1,7 +1,7 @@
{
"name": "@siafoundation/react-icons",
"description": "React-based icons used across Sia apps and websites",
- "version": "0.1.0",
+ "version": "0.1.5",
"license": "MIT",
"dependencies": {
"@carbon/icons-react": "^10.47.0"
diff --git a/libs/react-renterd/CHANGELOG.md b/libs/react-renterd/CHANGELOG.md
index 7e5686775..81d01a691 100644
--- a/libs/react-renterd/CHANGELOG.md
+++ b/libs/react-renterd/CHANGELOG.md
@@ -1,5 +1,41 @@
# @siafoundation/react-renterd
+## 1.0.5
+
+### Patch Changes
+
+- esm lodash support.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.8
+ - @siafoundation/types@0.0.6
+
+## 1.0.4
+
+### Patch Changes
+
+- lodash esm.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.7
+ - @siafoundation/types@0.0.5
+
+## 1.0.3
+
+### Patch Changes
+
+- lodash es.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.6
+ - @siafoundation/types@0.0.4
+
+## 1.0.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+- Updated dependencies [4294302f]
+ - @siafoundation/react-core@0.16.4
+ - @siafoundation/types@0.0.3
+
## 1.0.0
### Minor Changes
diff --git a/libs/react-renterd/package.json b/libs/react-renterd/package.json
index 25c0f3c49..f61dcb454 100644
--- a/libs/react-renterd/package.json
+++ b/libs/react-renterd/package.json
@@ -1,13 +1,13 @@
{
"name": "@siafoundation/react-renterd",
"description": " React hooks for interacting with `renterd`.",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/types": "^0.0.1",
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/types": "^0.0.6",
"swr": "^2.1.1",
- "lodash": "^4.17.21"
+ "lodash-es": "^4.17.21"
},
"types": "./src/index.d.ts"
}
diff --git a/libs/react-renterd/src/worker.ts b/libs/react-renterd/src/worker.ts
index 2e8c940a0..c47cbc3fb 100644
--- a/libs/react-renterd/src/worker.ts
+++ b/libs/react-renterd/src/worker.ts
@@ -1,4 +1,4 @@
-import { debounce } from 'lodash'
+import { debounce } from 'lodash-es'
import { AutopilotHost } from './autopilot'
import { Host, HostSettings } from './siaTypes'
import {
diff --git a/libs/react-sia-central/CHANGELOG.md b/libs/react-sia-central/CHANGELOG.md
index f42b73752..dfb914532 100644
--- a/libs/react-sia-central/CHANGELOG.md
+++ b/libs/react-sia-central/CHANGELOG.md
@@ -1,5 +1,41 @@
# @siafoundation/react-sia-central
+## 1.0.5
+
+### Patch Changes
+
+- esm lodash support.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.8
+ - @siafoundation/sia-central@0.2.5
+
+## 1.0.4
+
+### Patch Changes
+
+- lodash esm.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.7
+ - @siafoundation/sia-central@0.2.4
+
+## 1.0.3
+
+### Patch Changes
+
+- lodash es.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.6
+ - @siafoundation/sia-central@0.2.3
+
+## 1.0.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+- Updated dependencies [4294302f]
+ - @siafoundation/react-core@0.16.4
+ - @siafoundation/sia-central@0.2.2
+
## 1.0.0
### Minor Changes
diff --git a/libs/react-sia-central/package.json b/libs/react-sia-central/package.json
index 1150c1d06..83f906923 100644
--- a/libs/react-sia-central/package.json
+++ b/libs/react-sia-central/package.json
@@ -1,11 +1,11 @@
{
"name": "@siafoundation/react-sia-central",
"description": "React hooks for interacting with the Sia Central API.",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/sia-central": "^0.2.0"
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/sia-central": "^0.2.5"
},
"types": "./src/index.d.ts"
}
diff --git a/libs/react-walletd/CHANGELOG.md b/libs/react-walletd/CHANGELOG.md
index 4b0147695..8d3cdf6af 100644
--- a/libs/react-walletd/CHANGELOG.md
+++ b/libs/react-walletd/CHANGELOG.md
@@ -1,5 +1,41 @@
# @siafoundation/react-walletd
+## 1.0.5
+
+### Patch Changes
+
+- esm lodash support.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.8
+ - @siafoundation/types@0.0.6
+
+## 1.0.4
+
+### Patch Changes
+
+- lodash esm.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.7
+ - @siafoundation/types@0.0.5
+
+## 1.0.3
+
+### Patch Changes
+
+- lodash es.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.6
+ - @siafoundation/types@0.0.4
+
+## 1.0.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+- Updated dependencies [4294302f]
+ - @siafoundation/react-core@0.16.4
+ - @siafoundation/types@0.0.3
+
## 1.0.0
### Minor Changes
diff --git a/libs/react-walletd/package.json b/libs/react-walletd/package.json
index 058c3eb5d..7c754fa72 100644
--- a/libs/react-walletd/package.json
+++ b/libs/react-walletd/package.json
@@ -1,11 +1,11 @@
{
"name": "@siafoundation/react-walletd",
"description": " React hooks for interacting with `walletd`.",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/types": "^0.0.1",
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/types": "^0.0.6",
"swr": "^2.1.1"
},
"types": "./src/index.d.ts"
diff --git a/libs/sia-central/CHANGELOG.md b/libs/sia-central/CHANGELOG.md
index 237cfff0e..f9592f70f 100644
--- a/libs/sia-central/CHANGELOG.md
+++ b/libs/sia-central/CHANGELOG.md
@@ -1,5 +1,29 @@
# @siafoundation/sia-central
+## 0.2.5
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.2.4
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.2.3
+
+### Patch Changes
+
+- lodash es.
+
+## 0.2.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+
## 0.2.0
### Minor Changes
diff --git a/libs/sia-central/package.json b/libs/sia-central/package.json
index fcc6be7a9..816519239 100644
--- a/libs/sia-central/package.json
+++ b/libs/sia-central/package.json
@@ -1,10 +1,10 @@
{
"name": "@siafoundation/sia-central",
"description": "Methods and types for interacting with the Sia Central API.",
- "version": "0.2.0",
+ "version": "0.2.5",
"license": "MIT",
"peerDependencies": {
- "lodash": "^4.17.21"
+ "lodash-es": "^4.17.21"
},
"types": "./src/index.d.ts"
}
diff --git a/libs/sia-central/src/siaCentralHosts.tsx b/libs/sia-central/src/siaCentralHosts.tsx
index 3468c896d..7c869c022 100644
--- a/libs/sia-central/src/siaCentralHosts.tsx
+++ b/libs/sia-central/src/siaCentralHosts.tsx
@@ -1,4 +1,4 @@
-import { merge } from 'lodash'
+import { merge } from 'lodash-es'
import { runFetch } from './fetch'
import { SiaCentralHost, api } from './types'
@@ -31,8 +31,10 @@ export async function getSiaCentralHosts(args?: {
args
)
return runFetch(
- `${config?.api || api
- }/hosts/list?showinactive=false&sort=used_storage&dir=desc&protocol=rhp3&page=${params.page
+ `${
+ config?.api || api
+ }/hosts/list?showinactive=false&sort=used_storage&dir=desc&protocol=rhp3&page=${
+ params.page
}&limit=${params.limit}`
)
}
diff --git a/libs/types/CHANGELOG.md b/libs/types/CHANGELOG.md
index 85ee4ce19..7be1f440c 100644
--- a/libs/types/CHANGELOG.md
+++ b/libs/types/CHANGELOG.md
@@ -1 +1,25 @@
# @siafoundation/types
+
+## 0.0.6
+
+### Patch Changes
+
+- esm lodash support.
+
+## 0.0.5
+
+### Patch Changes
+
+- lodash esm.
+
+## 0.0.4
+
+### Patch Changes
+
+- lodash es.
+
+## 0.0.3
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
diff --git a/libs/types/package.json b/libs/types/package.json
index 522be2c5d..e3455dc3d 100644
--- a/libs/types/package.json
+++ b/libs/types/package.json
@@ -1,7 +1,7 @@
{
"name": "@siafoundation/types",
"description": "Core Sia types and library methods.",
- "version": "0.0.1",
+ "version": "0.0.6",
"license": "MIT",
"dependencies": {},
"types": "./src/index.d.ts"
diff --git a/libs/units/CHANGELOG.md b/libs/units/CHANGELOG.md
index 6bc2f8963..51d78ef93 100644
--- a/libs/units/CHANGELOG.md
+++ b/libs/units/CHANGELOG.md
@@ -1,5 +1,41 @@
# @siafoundation/units
+## 1.0.5
+
+### Patch Changes
+
+- esm lodash support.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.8
+ - @siafoundation/sia-central@0.2.5
+
+## 1.0.4
+
+### Patch Changes
+
+- lodash esm.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.7
+ - @siafoundation/sia-central@0.2.4
+
+## 1.0.3
+
+### Patch Changes
+
+- lodash es.
+- Updated dependencies
+ - @siafoundation/react-core@0.16.6
+ - @siafoundation/sia-central@0.2.3
+
+## 1.0.2
+
+### Patch Changes
+
+- 4294302f: Adjust packaging.
+- Updated dependencies [4294302f]
+ - @siafoundation/react-core@0.16.4
+ - @siafoundation/sia-central@0.2.2
+
## 1.0.0
### Minor Changes
diff --git a/libs/units/package.json b/libs/units/package.json
index 566a65323..5755e97f8 100644
--- a/libs/units/package.json
+++ b/libs/units/package.json
@@ -1,13 +1,13 @@
{
"name": "@siafoundation/units",
"description": "Methods and types for interacting with the Sia Central API.",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/sia-central": "^0.2.0",
- "@siafoundation/react-core": "^0.16.0",
+ "@siafoundation/sia-central": "^0.2.5",
+ "@siafoundation/react-core": "^0.16.8",
"bignumber.js": "^9.0.2",
- "lodash": "^4.17.21"
+ "lodash-es": "^4.17.21"
},
"dependencies": {
"blakejs": "^1.2.1"
diff --git a/libs/units/src/address.ts b/libs/units/src/address.ts
index 1f1963798..85cd39a62 100644
--- a/libs/units/src/address.ts
+++ b/libs/units/src/address.ts
@@ -1,5 +1,5 @@
import * as blake from 'blakejs'
-import { isEqual } from 'lodash'
+import { isEqual } from 'lodash-es'
function hexToBytes(hex: string) {
const bytes: number[] = []
diff --git a/package-lock.json b/package-lock.json
index 2e872f98a..d85448c34 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -58,7 +58,6 @@
"bignumber.js": "^9.0.2",
"blakejs": "^1.2.1",
"class-variance-authority": "^0.7.0",
- "clipboard-polyfill": "^3.0.3",
"cmdk": "^0.2.0",
"cobe": "^0.6.3",
"core-js": "^3.6.5",
@@ -76,7 +75,7 @@
"gray-matter": "^4.0.3",
"identicon.js": "^2.3.3",
"jest-environment-jsdom": "29.4.3",
- "lodash": "^4.17.21",
+ "lodash-es": "^4.17.21",
"lowdb": "^3.0.0",
"next": "13.5.2",
"next-mdx-remote": "^4.0.3",
@@ -142,7 +141,7 @@
"@types/d3-time-format": "^4.0.0",
"@types/express": "4.17.17",
"@types/jest": "29.4.4",
- "@types/lodash": "^4.14.182",
+ "@types/lodash-es": "^4.17.12",
"@types/node": "18.14.2",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",
@@ -212,7 +211,7 @@
"license": "MIT"
},
"apps/explorer": {
- "version": "0.10.0",
+ "version": "0.10.3",
"license": "MIT"
},
"apps/explorer-v1": {
@@ -221,11 +220,11 @@
"license": "MIT"
},
"apps/hostd": {
- "version": "0.31.0",
+ "version": "0.31.3",
"license": "MIT"
},
"apps/renterd": {
- "version": "0.38.0",
+ "version": "0.38.3",
"license": "MIT"
},
"apps/siad": {
@@ -235,16 +234,16 @@
"license": "MIT"
},
"apps/walletd": {
- "version": "0.15.0",
+ "version": "0.15.4",
"license": "MIT"
},
"apps/website": {
- "version": "0.46.0",
+ "version": "0.46.3",
"license": "MIT"
},
"libs/data-sources": {
"name": "@siafoundation/data-sources",
- "version": "0.2.0",
+ "version": "0.2.3",
"license": "MIT",
"dependencies": {
"@notionhq/client": "^2.2.8",
@@ -258,12 +257,12 @@
},
"peerDependencies": {
"axios": "^0.27.2",
- "lodash": "^4.17.21"
+ "lodash-es": "^4.17.21"
}
},
"libs/design-system": {
"name": "@siafoundation/design-system",
- "version": "1.0.0",
+ "version": "1.0.12",
"license": "MIT",
"dependencies": {
"@radix-ui/react-accordion": "^1.0.0",
@@ -315,17 +314,17 @@
"@nx/react": "16.8.1"
},
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/react-icons": "^0.1.0",
- "@siafoundation/react-sia-central": "^1.0.0",
- "@siafoundation/types": "^0.0.1",
- "@siafoundation/units": "^1.0.0",
+ "@siafoundation/next": "^0.0.5",
+ "@siafoundation/react-core": "^0.16.9",
+ "@siafoundation/react-icons": "^0.1.5",
+ "@siafoundation/react-sia-central": "^1.0.5",
+ "@siafoundation/types": "^0.0.6",
+ "@siafoundation/units": "^1.0.5",
"@tailwindcss/container-queries": "^0.1.1",
"axios": "^0.27.2",
"bignumber.js": "^9.0.2",
"class-variance-authority": "^0.7.0",
- "lodash": "^4.17.21",
- "next": "^13.5.2",
+ "lodash-es": "^4.17.21",
"react": "^18.2.0",
"react-hook-form": "^7.43.9",
"swr": "^2.1.1",
@@ -344,7 +343,7 @@
},
"libs/fonts": {
"name": "@siafoundation/fonts",
- "version": "0.1.0",
+ "version": "0.1.5",
"license": "MIT",
"peerDependencies": {
"class-variance-authority": "^0.7.0",
@@ -360,16 +359,24 @@
"version": "0.0.1",
"extraneous": true
},
+ "libs/next": {
+ "name": "@siafoundation/next",
+ "version": "0.0.5",
+ "license": "MIT",
+ "peerDependencies": {
+ "next": "^13.5.2"
+ }
+ },
"libs/react-core": {
"name": "@siafoundation/react-core",
- "version": "0.16.0",
+ "version": "0.16.9",
"license": "MIT",
"dependencies": {
"detect-gpu": "^5.0.34"
},
"peerDependencies": {
+ "@siafoundation/next": "^0.0.5",
"axios": "^0.27.2",
- "next": "^13.5.2",
"react": "^18.2.0",
"swr": "^2.1.1",
"use-local-storage-state": "^18.3.3"
@@ -377,17 +384,17 @@
},
"libs/react-hostd": {
"name": "@siafoundation/react-hostd",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/types": "^0.0.1",
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/types": "^0.0.6",
"swr": "^2.1.1"
}
},
"libs/react-icons": {
"name": "@siafoundation/react-icons",
- "version": "0.1.0",
+ "version": "0.1.5",
"license": "MIT",
"dependencies": {
"@carbon/icons-react": "^10.47.0"
@@ -395,22 +402,22 @@
},
"libs/react-renterd": {
"name": "@siafoundation/react-renterd",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/types": "^0.0.1",
- "lodash": "^4.17.21",
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/types": "^0.0.6",
+ "lodash-es": "^4.17.21",
"swr": "^2.1.1"
}
},
"libs/react-sia-central": {
"name": "@siafoundation/react-sia-central",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/sia-central": "^0.2.0"
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/sia-central": "^0.2.5"
}
},
"libs/react-siad": {
@@ -421,11 +428,11 @@
},
"libs/react-walletd": {
"name": "@siafoundation/react-walletd",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/types": "^0.0.1",
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/types": "^0.0.6",
"swr": "^2.1.1"
}
},
@@ -435,10 +442,10 @@
},
"libs/sia-central": {
"name": "@siafoundation/sia-central",
- "version": "0.2.0",
+ "version": "0.2.5",
"license": "MIT",
"peerDependencies": {
- "lodash": "^4.17.21"
+ "lodash-es": "^4.17.21"
}
},
"libs/sia-js": {
@@ -473,21 +480,21 @@
},
"libs/types": {
"name": "@siafoundation/types",
- "version": "0.0.1",
+ "version": "0.0.6",
"license": "MIT"
},
"libs/units": {
"name": "@siafoundation/units",
- "version": "1.0.0",
+ "version": "1.0.5",
"license": "MIT",
"dependencies": {
"blakejs": "^1.2.1"
},
"peerDependencies": {
- "@siafoundation/react-core": "^0.16.0",
- "@siafoundation/sia-central": "^0.2.0",
+ "@siafoundation/react-core": "^0.16.8",
+ "@siafoundation/sia-central": "^0.2.5",
"bignumber.js": "^9.0.2",
- "lodash": "^4.17.21"
+ "lodash-es": "^4.17.21"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
@@ -7483,6 +7490,10 @@
"resolved": "libs/fonts",
"link": true
},
+ "node_modules/@siafoundation/next": {
+ "resolved": "libs/next",
+ "link": true
+ },
"node_modules/@siafoundation/react-core": {
"resolved": "libs/react-core",
"link": true
@@ -8638,9 +8649,18 @@
"dev": true
},
"node_modules/@types/lodash": {
- "version": "4.14.182",
- "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz",
- "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q=="
+ "version": "4.14.202",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz",
+ "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ=="
+ },
+ "node_modules/@types/lodash-es": {
+ "version": "4.17.12",
+ "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz",
+ "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==",
+ "dev": true,
+ "dependencies": {
+ "@types/lodash": "*"
+ }
},
"node_modules/@types/mdast": {
"version": "3.0.10",
@@ -33267,6 +33287,10 @@
"version": "file:libs/fonts",
"requires": {}
},
+ "@siafoundation/next": {
+ "version": "file:libs/next",
+ "requires": {}
+ },
"@siafoundation/react-core": {
"version": "file:libs/react-core",
"requires": {
@@ -34126,9 +34150,18 @@
"dev": true
},
"@types/lodash": {
- "version": "4.14.182",
- "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.182.tgz",
- "integrity": "sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q=="
+ "version": "4.14.202",
+ "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz",
+ "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ=="
+ },
+ "@types/lodash-es": {
+ "version": "4.17.12",
+ "resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz",
+ "integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==",
+ "dev": true,
+ "requires": {
+ "@types/lodash": "*"
+ }
},
"@types/mdast": {
"version": "3.0.10",
diff --git a/package.json b/package.json
index e4ac6e837..0431dd114 100644
--- a/package.json
+++ b/package.json
@@ -70,7 +70,6 @@
"bignumber.js": "^9.0.2",
"blakejs": "^1.2.1",
"class-variance-authority": "^0.7.0",
- "clipboard-polyfill": "^3.0.3",
"cmdk": "^0.2.0",
"cobe": "^0.6.3",
"core-js": "^3.6.5",
@@ -88,7 +87,7 @@
"gray-matter": "^4.0.3",
"identicon.js": "^2.3.3",
"jest-environment-jsdom": "29.4.3",
- "lodash": "^4.17.21",
+ "lodash-es": "^4.17.21",
"lowdb": "^3.0.0",
"next": "13.5.2",
"next-mdx-remote": "^4.0.3",
@@ -154,7 +153,7 @@
"@types/d3-time-format": "^4.0.0",
"@types/express": "4.17.17",
"@types/jest": "29.4.4",
- "@types/lodash": "^4.14.182",
+ "@types/lodash-es": "^4.17.12",
"@types/node": "18.14.2",
"@types/react": "18.2.14",
"@types/react-dom": "18.2.6",