Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

charts

ErikKaumk1549e9c36d3b
diff --git a/apps/docs/package.json b/apps/docs/package.json
index ca3e982d0..06fbbaba4 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -18,7 +18,7 @@
"@mdx-js/loader": "^2.1.5",
"@mdx-js/react": "^2.1.5",
"@next/mdx": "^13.0.3",
- "@nivo/bar": "^0.87.0",
+ "@nivo/line": "^0.87.0",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-popover": "^1.0.6",
diff --git a/apps/docs/src/app/(main)/dashboard/page.tsx b/apps/docs/src/app/(main)/dashboard/page.tsx
index 1cbba9f87..95338e047 100644
--- a/apps/docs/src/app/(main)/dashboard/page.tsx
+++ b/apps/docs/src/app/(main)/dashboard/page.tsx
@@ -130,7 +130,7 @@ const iconMap: { [key in MenuLabel]: LucideIcon } = {
const MenuItem = ({ icon: Icon, label , selected, onClick }: { icon: LucideIcon; label: MenuLabel; selected: boolean; onClick: () => void }) => (
<div
- className={`flex w-fit md:w-full hover:bg-orange-500/30 hover:cursor-pointer rounded-lg items-center p-2 space-x-2 ${selected ? 'bg-orange-500/30' : ''}`}
+ className={`flex w-fit md:w-full hover:bg-[#995100] hover:cursor-pointer rounded-lg items-center p-2 space-x-2 ${selected ? 'bg-[#995100]' : ''}`}
onClick={onClick}
>
<Icon width={20} height={20} />
diff --git a/apps/docs/src/components/Dashboard/Chart.tsx b/apps/docs/src/components/Dashboard/Chart.tsx
index 1a785d422..8a1af801e 100644
--- a/apps/docs/src/components/Dashboard/Chart.tsx
+++ b/apps/docs/src/components/Dashboard/Chart.tsx
@@ -1,31 +1,42 @@
-import { ResponsiveBar } from '@nivo/bar'
+import { ResponsiveLine } from '@nivo/line'
-const generateTicks = (minValue: number, maxValue: number, numTicks: number) => {
+const generateTicks = (minValue: number, maxValue: number, numTicks: number): number[] => {
const range = maxValue - minValue
const step = range / (numTicks - 1)
- return Array.from({ length: numTicks }, (_, i) => (minValue + i * step).toFixed(2))
-}
-// If you wonder how to style this chart, I highly recommend this interactive tool: https://nivo.rocks/bar/
-export default function BarChart({ usages, ...props }) {
+ // Determine magnitude of the step to round it to a sensible value
+ const magnitude = Math.pow(10, Math.floor(Math.log10(step)))
+ const roundedStep = Math.ceil(step / magnitude) * magnitude
- const allValues = usages.data.flatMap((item: any) =>
- Object.values(item).filter((value) => typeof value === 'number')
- )
- let maxValue = Math.max(...allValues)
- maxValue += maxValue * 0.1 // add a 10% buffer
+ // Round minValue down to the nearest roundedStep
+ const start = Math.floor(minValue / roundedStep) * roundedStep
+
+ const ticks: number[] = []
+ for (let i = 0; i < numTicks; i++) {
+ ticks.push(start + i * roundedStep)
+ }
+
+ if (ticks[ticks.length - 1] < maxValue) {
+ ticks.push(Math.ceil(maxValue / roundedStep) * roundedStep)
+ }
- const ticks = generateTicks(0, maxValue, 5)
+ return ticks.map((tick) => parseFloat(tick.toFixed(2)))
+}
+
+// If you wonder how to style this chart, I highly recommend this interactive tool: https://nivo.rocks/line/
+export default function LineChart({ series, ...props }) {
+
+ const allValues = series.flatMap((s: any) => s.data.map((d: any) => d.y))
+ const maxValue = Math.max(...allValues) // Add a 10% buffer to the maximum value
+
+ const ticks = generateTicks(0, maxValue, 6)
return (
<div {...props}>
- <ResponsiveBar
- data={usages.data}
- keys={usages.keys}
- indexBy="name"
- margin={{ top: 40, right: 40, bottom: 40, left: 40 }}
- padding={0.2}
- colors={['#FFAF78']}
+ <ResponsiveLine
+ data={series}
+ margin={{ top: 60, right: 30, bottom: 40, left: 50 }}
+ colors={['#FF9F33']}
axisBottom={{
tickSize: 0,
tickPadding: 16,
@@ -33,7 +44,9 @@ export default function BarChart({ usages, ...props }) {
axisLeft={{
tickSize: 0,
tickPadding: 16,
+ tickValues: ticks,
}}
+ gridXValues={[]}
gridYValues={ticks}
theme={{
axis: {
@@ -41,25 +54,29 @@ export default function BarChart({ usages, ...props }) {
text: {
fill: '#f3f4f6',
fontSize: 12,
+ fontFamily: 'monospace',
},
},
},
grid: {
line: {
- stroke: '#f3f4f6',
+ stroke: '#525252',
},
},
}}
isInteractive={false}
- borderRadius={4}
- tooltipLabel={({ id }) => `${id}`}
- label={(d) => `${d.value!.toFixed(4)}`}
- enableLabel={true}
- labelSkipWidth={12}
- labelSkipHeight={12}
- maxValue={maxValue}
- role="application"
- ariaLabel={`A bar chart showing ${props.type}-hours per month broken down by template`}
+ enableArea={true}
+ defs={[
+ {
+ id: 'gradientA',
+ type: 'linearGradient',
+ colors: [
+ { offset: 0, color: '#FF9F33' },
+ { offset: 100, color: '#FF9F33', opacity: 0 },
+ ],
+ },
+ ]}
+ fill={[{ match: '*', id: 'gradientA' }]}
/>
</div>
)
diff --git a/apps/docs/src/components/Dashboard/Usage.tsx b/apps/docs/src/components/Dashboard/Usage.tsx
index 042ea163d..54d91524c 100644
--- a/apps/docs/src/components/Dashboard/Usage.tsx
+++ b/apps/docs/src/components/Dashboard/Usage.tsx
@@ -1,7 +1,7 @@
import { useEffect, useState } from 'react'
import { Card, CardContent } from '../ui/card'
-import BarChart from './Chart'
import { LoaderIcon } from 'lucide-react'
+import LineChart from './Chart'
const usageUrl = `${process.env.NEXT_PUBLIC_BILLING_API_URL}/teams/usage`
@@ -26,17 +26,11 @@ export const UsageContent = ({ currentApiKey }: { currentApiKey: string | null})
}
const data = await response.json()
- const { vcpuData, ramData, vcpuKeys, ramKeys } = transformData(data.usages)
-
- setVcpuData({
- data: vcpuData,
- keys: vcpuKeys,
- })
- setRamData({
- data: ramData,
- keys: ramKeys,
- })
+ const { vcpuSeries, ramSeries } = transformData(data.usages)
+
+ setVcpuData(vcpuSeries)
+ setRamData(ramSeries)
}
if (currentApiKey) {
getUsage()
@@ -48,24 +42,23 @@ export const UsageContent = ({ currentApiKey }: { currentApiKey: string | null})
<div className='pb-10'>
<h2 className='font-bold pb-4 text-xl'>Usage history</h2>
<p>
- The graphs shows monthly vCPU-hours and RAM-hours used by the team. <br/>
- If you have several teamplates, the bar is broken down by the teamplate id.
+ The graphs show the total monthly vCPU-hours and RAM-hours used by the team. <br/>
</p>
</div>
{vcpuData && ramData ? (
<>
<h2 className='font-bold pb-4 text-xl'>vCPU hours</h2>
- <Card className="w-2/3 bg-inherit/10 border border-white/20 mb-10">
+ <Card className="w-full md:w-2/3 bg-inherit/10 border border-white/20 mb-10">
<CardContent>
- <BarChart className="aspect-[4/3]" usages={vcpuData} type="vCPU" />
+ <LineChart className="aspect-[4/3]" series={vcpuData} type="vCPU" />
</CardContent>
</Card>
<h2 className='font-bold pb-4 text-xl'>RAM hours</h2>
- <Card className="w-2/3 bg-inherit/10 border border-white/20 mb-10">
+ <Card className="w-full md:w-2/3 bg-inherit/10 border border-white/20 mb-10">
<CardContent>
- <BarChart className="aspect-[4/3]" usages={ramData} type="RAM" />
+ <LineChart className="aspect-[4/3]" series={ramData} type="RAM" />
</CardContent>
</Card>
</>
@@ -80,41 +73,34 @@ export const UsageContent = ({ currentApiKey }: { currentApiKey: string | null})
const transformData = (usages: any) => {
- const vcpuData = usages.map((usage: any) => {
- const monthData = {
- name: `${usage.month}/${usage.year}`,
- }
- usage.template_usage.forEach((template: any) => {
- monthData[`vCPU_${template.alias}`] = template.vcpu_hours
- })
- return monthData
- })
-
const ramData = usages.map((usage: any) => {
- const monthData = {
- name: `${usage.month}/${usage.year}`,
+ return {
+ x: `${String(usage.month).padStart(2, '0')}/${usage.year}`,
+ y: usage.template_usage.reduce((acc: number, template: any) => acc + template.ram_gb_hours, 0),
}
- usage.template_usage.forEach((template: any) => {
- monthData[`RAM_${template.alias}`] = template.ram_gb_hours
- })
- return monthData
})
- // Extract keys for the bar charts
- const vcpuKeys = new Set()
- const ramKeys = new Set()
- usages.forEach((usage: any) => {
- usage.template_usage.forEach((template: any) => {
- vcpuKeys.add(`vCPU_${template.alias}`)
- ramKeys.add(`RAM_${template.alias}`)
- })
+ const vpcData = usages.map((usage: any) => {
+ return {
+ x: `${String(usage.month).padStart(2, '0')}/${usage.year}`,
+ y: usage.template_usage.reduce((acc: number, template: any) => acc + template.sandbox_hours, 0),
+ }
})
return {
- vcpuData,
- ramData,
- vcpuKeys: Array.from(vcpuKeys),
- ramKeys: Array.from(ramKeys),
+ vcpuSeries: [
+ {
+ id: 'vCPU Hours',
+ data: vpcData,
+ },
+ ],
+ ramSeries: [
+ {
+ id: 'RAM Usage',
+ data: ramData,
+ },
+ ],
}
}
+
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 9a236cfbc..df2762f9f 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -51,7 +51,7 @@ importers:
'@next/mdx':
specifier: ^13.0.3
version: 13.5.1(@mdx-js/[email protected])(@mdx-js/[email protected])
- '@nivo/bar':
+ '@nivo/line':
specifier: ^0.87.0
'@radix-ui/react-alert-dialog':
@@ -243,7 +243,7 @@ importers:
version: 4.3.3
next:
specifier: latest
react:
specifier: latest
version: 18.3.1
@@ -253,7 +253,7 @@ importers:
devDependencies:
'@types/node':
specifier: latest
- version: 20.12.12
+ version: 20.14.5
'@types/react':
specifier: latest
version: 18.3.3
@@ -1286,6 +1286,7 @@ packages:
/@humanwhocodes/[email protected]:
resolution: {integrity: sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA==}
engines: {node: '>=10.10.0'}
+ deprecated: Use @eslint/config-array instead
dependencies:
'@humanwhocodes/object-schema': 1.2.1
debug: 4.3.4
@@ -1301,6 +1302,7 @@ packages:
/@humanwhocodes/[email protected]:
resolution: {integrity: sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==}
+ deprecated: Use @eslint/object-schema instead
dev: true
@@ -1482,8 +1484,8 @@ packages:
resolution: {integrity: sha512-RmHanbV21saP/6OEPBJ7yJMuys68cIf8OBBWd7+uj40LdpmswVAwe1uzeuFyUsd6SfeITWT3XnQfn6wULeKwDQ==}
dev: false
- resolution: {integrity: sha512-W7fd7IbkfmeeY2gXrzJYDx8D2lWKbVoTIj1o1ScPHNzvp30s1AuoEFSdr39bC5sjxJaxTtq3OTCZboNp0lNWHA==}
+ resolution: {integrity: sha512-3EtkY5VDkuV2+lNmKlbkibIJxcO4oIHEhBWne6PaAp+76J9KoSsGvNikp6ivzAT8dhhBMYrm6op2pS1ApG0Hzg==}
dev: false
@@ -1517,8 +1519,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-3pEYo/RaGqPP0YzwnlmPN2puaF2WMLM3apt5jLW2fFdXD9+pqcoTzRk+iZsf8ta7+quAe4Q6Ms0nR0SFGFdS1A==}
+ resolution: {integrity: sha512-AH3mO4JlFUqsYcwFUHb1wAKlebHU/Hv2u2kb1pAuRanDZ7pD/A/KPD98RHZmwsJpdHQwfEc/06mgpSzwrJYnNg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
@@ -1535,8 +1537,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==}
+ resolution: {integrity: sha512-QVadW73sWIO6E2VroyUjuAxhWLZWEpiFqHdZdoQ/AMpN9YWGuHV8t2rChr0ahy+irKX5mlDU7OY68k3n4tAZTg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
@@ -1553,8 +1555,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==}
+ resolution: {integrity: sha512-KT6GUrb3oyCfcfJ+WliXuJnD6pCpZiosx2X3k66HLR+DMoilRb76LpWPGb4tZprawTtcnyrv75ElD6VncVamUQ==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -1571,8 +1573,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==}
+ resolution: {integrity: sha512-Alv8/XGSs/ytwQcbCHwze1HmiIkIVhDHYLjczSVrf0Wi2MvKn/blt7+S6FJitj3yTlMwMxII1gIJ9WepI4aZ/A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
@@ -1589,8 +1591,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==}
+ resolution: {integrity: sha512-ze0ShQDBPCqxLImzw4sCdfnB3lRmN3qGMB2GWDRlq5Wqy4G36pxtNOo2usu/Nm9+V2Rh/QQnrRc2l94kYFXO6Q==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -1607,8 +1609,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==}
+ resolution: {integrity: sha512-8dwC0UJoc6fC7PX70csdaznVMNr16hQrTDAMPvLPloazlcaWfdPogq+UpZX6Drqb1OBlwowz8iG7WR0Tzk/diQ==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
@@ -1625,8 +1627,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==}
+ resolution: {integrity: sha512-jxyg67NbEWkDyvM+O8UDbPAyYRZqGLQDTPwvrBBeOSyVWW/jFQkQKQ70JDqDSYg1ZDdl+E3nkbFbq8xM8E9x8A==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
@@ -1643,8 +1645,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==}
+ resolution: {integrity: sha512-twrmN753hjXRdcrZmZttb/m5xaCBFa48Dt3FbeEItpJArxriYDunWxJn+QFXdJ3hPkm4u7CKxncVvnmgQMY1ag==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
@@ -1661,8 +1663,8 @@ packages:
dev: false
optional: true
- resolution: {integrity: sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==}
+ resolution: {integrity: sha512-tkLrjBzqFTP8DVrAAQmZelEahfR9OxWpFR++vAI9FBhCiIxtwHwBHC23SBHCTURBtwB4kc/x44imVOnkKGNVGg==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
@@ -1701,29 +1703,6 @@ packages:
- react-dom
dev: false
- resolution: {integrity: sha512-r/MEVCNAHKfmsy1Fb+JztVczOhIEtAx4VFs2XUbn9YpEDgxydavUJyfoy5/nGq6h5jG1/t47cfB4nZle7c0fyQ==}
- peerDependencies:
- react: '>= 16.14.0 < 19.0.0'
- dependencies:
- '@nivo/annotations': 0.87.0([email protected])([email protected])
- '@nivo/axes': 0.87.0([email protected])([email protected])
- '@nivo/colors': 0.87.0([email protected])([email protected])
- '@nivo/core': 0.87.0([email protected])([email protected])
- '@nivo/legends': 0.87.0([email protected])([email protected])
- '@nivo/scales': 0.87.0
- '@nivo/tooltip': 0.87.0([email protected])([email protected])
- '@react-spring/web': 9.7.3([email protected])([email protected])
- '@types/d3-scale': 4.0.8
- '@types/d3-shape': 3.1.6
- d3-scale: 4.0.2
- d3-shape: 3.2.0
- lodash: 4.17.21
- react: 18.2.0
- transitivePeerDependencies:
- - react-dom
- dev: false
-
resolution: {integrity: sha512-S4pZzRGKK23t8XAjQMhML6wwsfKO9nH03xuyN4SvCodNA/Dmdys9xV+9Dg/VILTzvzsBTBGTX0dFBg65WoKfVg==}
peerDependencies:
@@ -1780,6 +1759,26 @@ packages:
- react-dom
dev: false
+ resolution: {integrity: sha512-Ki/WDd8ZU8VWScW4ZeKUFCXRdAEg8nrS+F+jdfJDPxyxUMHZJCAbrXrnsExcEQLOaDQ2aU/bijEMiDS8/dJzuA==}
+ peerDependencies:
+ react: '>= 16.14.0 < 19.0.0'
+ dependencies:
+ '@nivo/annotations': 0.87.0([email protected])([email protected])
+ '@nivo/axes': 0.87.0([email protected])([email protected])
+ '@nivo/colors': 0.87.0([email protected])([email protected])
+ '@nivo/core': 0.87.0([email protected])([email protected])
+ '@nivo/legends': 0.87.0([email protected])([email protected])
+ '@nivo/scales': 0.87.0
+ '@nivo/tooltip': 0.87.0([email protected])([email protected])
+ '@nivo/voronoi': 0.87.0([email protected])([email protected])
+ '@react-spring/web': 9.7.3([email protected])([email protected])
+ d3-shape: 3.2.0
+ react: 18.2.0
+ transitivePeerDependencies:
+ - react-dom
+ dev: false
+
resolution: {integrity: sha512-IHdY9w2em/xpWurcbhUR3cUA1dgbY06rU8gmA/skFCwf3C4Da3Rqwr0XqvxmkDC+EdT/iFljMbLst7VYiCnSdw==}
dependencies:
@@ -1804,6 +1803,22 @@ packages:
- react-dom
dev: false
+ resolution: {integrity: sha512-Tg+9YnCX8LKsEwZMY1Q83mWiVFiyU2smxrO3JaC9vzjIh/2A/bkNPwC6BdmRaQMvY1jngKs+WKDnNxSQWFSOEg==}
+ peerDependencies:
+ react: '>= 16.14.0 < 19.0.0'
+ dependencies:
+ '@nivo/core': 0.87.0([email protected])([email protected])
+ '@nivo/tooltip': 0.87.0([email protected])([email protected])
+ '@types/d3-delaunay': 6.0.4
+ '@types/d3-scale': 4.0.8
+ d3-delaunay: 6.0.4
+ d3-scale: 4.0.2
+ react: 18.2.0
+ transitivePeerDependencies:
+ - react-dom
+ dev: false
+
/@nodelib/[email protected]:
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
engines: {node: '>= 8'}
@@ -3381,6 +3396,10 @@ packages:
resolution: {integrity: sha512-iO90scth9WAbmgv7ogoq57O9YpKmFBbmoEoCHDB2xMBY0+/KVrqAaCDyCE16dUspeOvIxFFRI+0sEtqDqy2b4A==}
dev: false
+ resolution: {integrity: sha512-ZMaSKu4THYCU6sV64Lhg6qjf1orxBthaC161plr5KuPHo3CNm8DTHiLw/5Eq2b6TsNP0W0iJrUOFscY6Q450Hw==}
+ dev: false
+
resolution: {integrity: sha512-mLxrC1MSWupOSncXN/HOlWUAAIffAEBaI4+PKy2uMPsKe4FNZlk7qrbTjmzJXITQQqBHivaks4Td18azgqnotA==}
dev: false
@@ -3482,7 +3501,7 @@ packages:
resolution: {integrity: sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==}
dependencies:
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
dev: false
@@ -3508,12 +3527,12 @@ packages:
resolution: {integrity: sha512-wf3Vz+jCmOQ2HV1YUJuCWdL64adYxumkrxtc+H1VUQlnQI04+5HtH+qZCOE21lBE7gIrt+CwX2Wv8Acrw5Ak6w==}
- dev: true
- resolution: {integrity: sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==}
+ resolution: {integrity: sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==}
dependencies:
undici-types: 5.26.5
+ dev: true
resolution: {integrity: sha512-HksnYH4Ljr4VQgEy2lTStbCKv/P590tmPe5HqOnv9Gprffgv5WXAY+Y5Gqniu0GGqeTCUdBnzC3QSrzPkBkAMA==}
@@ -3578,7 +3597,7 @@ packages:
resolution: {integrity: sha512-/4YQT5Kp6HxUDb4yhRkm0bJ7TbjvTddqX7PZ5hz6qV3pxSo72f/6YPRo+Mu2DU307tm9IioO69l7uAwn5XNcFA==}
dependencies:
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
dev: false
@@ -3591,7 +3610,7 @@ packages:
resolution: {integrity: sha512-HsJ+z3QuETzP3cswwtzt2vEIiHBk/dCcHGhbmG5X3ecnwFD/lPrMpliGXxSCg03L9AhrdwA4Oz/qfspkDW+xGQ==}
dependencies:
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
dev: true
@@ -3608,13 +3627,13 @@ packages:
resolution: {integrity: sha512-JXkliwz93B2cMWOI1ukElQBPN88vMg3CruvW4KVSKpflt3NyNCJImnhIuB/f97rG7kakqRJGFiwkA895Kn02Dg==}
dependencies:
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
dev: false
resolution: {integrity: sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A==}
dependencies:
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
dev: true
@@ -5194,6 +5213,13 @@ packages:
engines: {node: '>=12'}
dev: false
+ resolution: {integrity: sha512-mdjtIZ1XLAM8bm/hx3WwjfHt6Sggek7qH043O8KEjDXN40xi3vx/6pYSVTwLjEgiXQTbvaouWKynLBiUZ6SK6A==}
+ engines: {node: '>=12'}
+ dependencies:
+ delaunator: 5.0.1
+ dev: false
+
resolution: {integrity: sha512-J0piedu6Z8iB6TbIGfZgDzfXxUFN3qQRMofy2oPdXzQibYGqPB/9iMcxr/TGalU+2RsyDO+U4f33id8tbnSRMQ==}
dev: false
@@ -5426,6 +5452,12 @@ packages:
has-property-descriptors: 1.0.0
object-keys: 1.1.1
+ resolution: {integrity: sha512-8nvh+XBe96aCESrGOqMp/84b13H9cdKbG5P2ejQCh4d4sK9RL4371qou9drQjMhvnPmhWl5hnmqbEE0fXr9Xnw==}
+ dependencies:
+ robust-predicates: 3.0.2
+ dev: false
+
resolution: {integrity: sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==}
dev: true
@@ -6641,6 +6673,7 @@ packages:
resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==}
+ deprecated: Glob versions prior to v9 are no longer supported
dependencies:
fs.realpath: 1.0.0
inflight: 1.0.6
@@ -7458,7 +7491,7 @@ packages:
resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}
engines: {node: '>= 10.13.0'}
dependencies:
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
merge-stream: 2.0.0
supports-color: 8.1.1
dev: false
@@ -8836,8 +8869,8 @@ packages:
- babel-plugin-macros
dev: false
- resolution: {integrity: sha512-dowFkFTR8v79NPJO4QsBUtxv0g9BrS/phluVpMAt2ku7H+cbcBJlopXjkWlwxrk/xGqMemr7JkGPGemPrLLX7A==}
+ resolution: {integrity: sha512-R8/V7vugY+822rsQGQCjoLhMuC9oFj9SOi4Cl4b2wjDrseD0LRZ10W7R6Czo4w9ZznVSshKjuIomsRjvm9EKJQ==}
engines: {node: '>=18.17.0'}
hasBin: true
peerDependencies:
@@ -8854,7 +8887,7 @@ packages:
sass:
optional: true
dependencies:
- '@next/env': 14.2.3
+ '@next/env': 14.2.4
'@swc/helpers': 0.5.5
busboy: 1.6.0
caniuse-lite: 1.0.30001579
@@ -8864,15 +8897,15 @@ packages:
react-dom: 18.3.1([email protected])
styled-jsx: 5.1.1([email protected])
optionalDependencies:
- '@next/swc-darwin-arm64': 14.2.3
- '@next/swc-darwin-x64': 14.2.3
- '@next/swc-linux-arm64-gnu': 14.2.3
- '@next/swc-linux-arm64-musl': 14.2.3
- '@next/swc-linux-x64-gnu': 14.2.3
- '@next/swc-linux-x64-musl': 14.2.3
- '@next/swc-win32-arm64-msvc': 14.2.3
- '@next/swc-win32-ia32-msvc': 14.2.3
- '@next/swc-win32-x64-msvc': 14.2.3
+ '@next/swc-darwin-arm64': 14.2.4
+ '@next/swc-darwin-x64': 14.2.4
+ '@next/swc-linux-arm64-gnu': 14.2.4
+ '@next/swc-linux-arm64-musl': 14.2.4
+ '@next/swc-linux-x64-gnu': 14.2.4
+ '@next/swc-linux-x64-musl': 14.2.4
+ '@next/swc-win32-arm64-msvc': 14.2.4
+ '@next/swc-win32-ia32-msvc': 14.2.4
+ '@next/swc-win32-x64-msvc': 14.2.4
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@@ -10240,6 +10273,7 @@ packages:
resolution: {integrity: sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==}
+ deprecated: Rimraf versions prior to v4 are no longer supported
hasBin: true
dependencies:
glob: 7.2.3
@@ -10253,6 +10287,10 @@ packages:
glob: 10.3.10
dev: true
+ resolution: {integrity: sha512-IXgzBWvWQwE6PrDI05OvmXUIruQTcoMDzRsOd5CDvHCVLcLHMTSYvOK5Cm46kWqlV3yAbuSpBZdJ5oP5OUoStg==}
+ dev: false
+
resolution: {integrity: sha512-4+YfbQC9QEVvKTanHhIAFVUFSRsezvQF8vFOJwtGfb9Bb+r014S+qryr9PSmw8x6sMnPkmFBGAvIFVQxvJxjtg==}
engines: {node: '>=10.0.0'}
@@ -11450,6 +11488,7 @@ packages:
resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==}
+ dev: true
resolution: {integrity: sha512-OG+QOf0fTLtazL9P9X7yqWxQ+Z0395Wk6DSkyTxtaq3wQEjIroVe7Y4asCX/vcCxYpNGMnwz8F0qbRYUoaQVMw==}
@@ -11771,7 +11810,7 @@ packages:
vfile-message: 3.1.4
dev: false
resolution: {integrity: sha512-nlBMJ9x6n7/Amaz6F3zJ97EBwR2FkzhBRxF5e+jE6LA3yi6Wtc2lyTij1OnDMIr34v5g/tVQtsVAzhT0jc5ygA==}
engines: {node: '>=v14.18.0'}
hasBin: true
@@ -11781,7 +11820,7 @@ packages:
mlly: 1.4.2
pathe: 1.1.1
picocolors: 1.0.0
- vite: 4.5.0(@types/[email protected])
+ vite: 4.5.0(@types/[email protected])
transitivePeerDependencies:
- '@types/node'
- less
@@ -11793,7 +11832,7 @@ packages:
- terser
dev: true
resolution: {integrity: sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==}
engines: {node: ^14.18.0 || >=16.0.0}
hasBin: true
@@ -11821,7 +11860,7 @@ packages:
terser:
optional: true
dependencies:
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
esbuild: 0.18.20
postcss: 8.4.31
rollup: 3.29.4
@@ -11862,7 +11901,7 @@ packages:
dependencies:
'@types/chai': 4.3.9
'@types/chai-subset': 1.3.4
- '@types/node': 20.12.12
+ '@types/node': 18.18.6
'@vitest/expect': 0.34.6
'@vitest/runner': 0.34.6
'@vitest/snapshot': 0.34.6
@@ -11881,8 +11920,8 @@ packages:
strip-literal: 1.3.0
tinybench: 2.5.1
tinypool: 0.7.0
- vite: 4.5.0(@types/[email protected])
- vite-node: 0.34.6(@types/[email protected])
+ vite: 4.5.0(@types/[email protected])
+ vite-node: 0.34.6(@types/[email protected])
why-is-node-running: 2.2.2
transitivePeerDependencies:
- less