Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

eslint v9, fix billing issue

Blue Mouse14975a691d03
diff --git a/web/.eslintrc.cjs b/web/.eslintrc.cjs
deleted file mode 100644
index 973948998..000000000
--- a/web/.eslintrc.cjs
+++ /dev/null
@@ -1,115 +0,0 @@
-/** @type {import('eslint').Linter.Config} */
-module.exports = {
- root: true,
- parserOptions: {
- ecmaVersion: 'latest',
- sourceType: 'module',
- ecmaFeatures: {
- jsx: true,
- },
- },
- env: {
- browser: true,
- commonjs: true,
- es6: true,
- },
-
- // Base config
- extends: ['eslint:recommended'],
-
- overrides: [
- // React
- {
- files: ['**/*.{js,jsx,ts,tsx}'],
- plugins: ['react', 'jsx-a11y'],
- extends: [
- 'plugin:react/recommended',
- 'plugin:react/jsx-runtime',
- 'plugin:react-hooks/recommended',
- 'plugin:jsx-a11y/recommended',
- 'prettier',
- ],
- settings: {
- react: {
- version: 'detect',
- },
- formComponents: ['Form'],
- linkComponents: [
- { name: 'Link', linkAttribute: 'to' },
- { name: 'NavLink', linkAttribute: 'to' },
- ],
- },
- rules: {
- 'react/jsx-no-leaked-render': ['warn', { validStrategies: ['ternary'] }],
- 'react/prop-types': 'off',
-
- // TODO: Re-enable these rules in future
- 'jsx-a11y/anchor-has-content': 'off',
- 'jsx-a11y/click-events-have-key-events': 'off',
- 'jsx-a11y/no-noninteractive-element-interactions': 'off',
- 'react/no-unescaped-entities': 'off',
- 'jsx-a11y/no-static-element-interactions': 'off',
- },
- },
-
- // Typescript
- {
- files: ['**/*.{ts,tsx}'],
- plugins: ['@typescript-eslint', 'import', 'unused-imports'],
- parser: '@typescript-eslint/parser',
- settings: {
- 'import/internal-regex': '^~/',
- 'import/resolver': {
- node: {
- extensions: ['.ts', '.tsx'],
- },
- typescript: {
- alwaysTryTypes: true,
- },
- },
- 'jsx-quotes': ['error', 'prefer-single'],
- 'comma-dangle': ['warn', 'always-multiline'],
- },
- extends: [
- 'plugin:@typescript-eslint/recommended',
- 'plugin:@typescript-eslint/stylistic',
- 'plugin:import/recommended',
- 'plugin:import/typescript',
- 'prettier',
- ],
- rules: {
- 'import/order': [
- 'error',
- {
- alphabetize: { caseInsensitive: true, order: 'asc' },
- groups: ['builtin', 'external', 'internal', 'parent', 'sibling'],
- 'newlines-between': 'always',
- },
- ],
- '@typescript-eslint/no-explicit-any': 'off',
- '@typescript-eslint/no-unused-vars': 'off',
- '@typescript-eslint/prefer-for-of': 'off',
- '@typescript-eslint/ban-ts-comment': 'off',
- '@typescript-eslint/no-empty-function': 'off',
- 'unused-imports/no-unused-imports': 'error',
- 'unused-imports/no-unused-vars': [
- 'warn',
- {
- vars: 'all',
- varsIgnorePattern: '^_',
- args: 'after-used',
- argsIgnorePattern: '^_',
- },
- ],
- },
- },
-
- // Node
- {
- files: ['.eslintrc.cjs'],
- env: {
- node: true,
- },
- },
- ],
-}
diff --git a/web/app/api/index.ts b/web/app/api/index.ts
index 1a0930250..ffd3075bd 100644
--- a/web/app/api/index.ts
+++ b/web/app/api/index.ts
@@ -1,4 +1,3 @@
-/* eslint-disable implicit-arrow-linebreak */
import axios, { AxiosResponse } from 'axios'
import createAuthRefreshInterceptor from 'axios-auth-refresh'
import _isArray from 'lodash/isArray'
@@ -34,7 +33,7 @@ const refreshAuthLogic = (failedRequest: { response: AxiosResponse }) =>
.then((tokenRefreshResponse) => {
const { accessToken } = tokenRefreshResponse.data
setAccessToken(accessToken)
- // eslint-disable-next-line
+
failedRequest.response.config.headers.Authorization = `Bearer ${accessToken}`
return Promise.resolve()
})
@@ -53,7 +52,6 @@ api.interceptors.request.use(
(config) => {
const token = getAccessToken()
if (token) {
- // eslint-disable-next-line no-param-reassign
config.headers.Authorization = `Bearer ${token}`
}
return config
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsx
index 6fa165262..6f35828eb 100644
--- a/web/app/components/Header/index.tsx
+++ b/web/app/components/Header/index.tsx
@@ -1,5 +1,3 @@
-/* eslint-disable jsx-a11y/anchor-is-valid, react/no-unstable-nested-components */
-
import {
Popover,
Transition,
diff --git a/web/app/components/marketing/Pricing.tsx b/web/app/components/marketing/Pricing.tsx
index 478b6c33a..b1e176c5e 100644
--- a/web/app/components/marketing/Pricing.tsx
+++ b/web/app/components/marketing/Pricing.tsx
@@ -1,5 +1,4 @@
-/* eslint-disable no-confusing-arrow */
-import { RadioGroup } from '@headlessui/react'
+import { Label, Radio, RadioGroup } from '@headlessui/react'
import { CheckIcon } from '@heroicons/react/24/solid'
import cx from 'clsx'
import dayjs from 'dayjs'
@@ -142,43 +141,46 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
}
const onPlanChange = async (tier: { planCode: string; name: string; pid: string; ypid: string }) => {
- if (
- planCodeLoading === null &&
- (user.planCode !== tier.planCode ||
- (user.billingFrequency !== billingFrequency && user.planCode !== 'free' && user.planCode !== 'trial'))
- ) {
- if (user.subID && user.planCode !== 'none') {
- const planId = Number(billingFrequency === BillingFrequency.monthly ? tier.pid : tier.ypid)
- setNewPlanId(planId)
- await loadSubUpdatePreview(planId)
- return
- }
+ const isSelectingDifferentPlan =
+ user.planCode !== tier.planCode ||
+ user.billingFrequency !== billingFrequency ||
+ !['free', 'trial', 'none'].includes(user.planCode)
- setPlanCodeLoading(tier.planCode)
+ if (planCodeLoading || !isSelectingDifferentPlan) {
+ return
+ }
- if (!window.Paddle) {
- toast.error('Payment script has not yet loaded! Please, try again.')
- setPlanCodeLoading(null)
- return
- }
+ if (user.subID && !user.cancellationEffectiveDate && user.planCode !== 'none') {
+ const planId = Number(billingFrequency === BillingFrequency.monthly ? tier.pid : tier.ypid)
+ setNewPlanId(planId)
+ await loadSubUpdatePreview(planId)
+ return
+ }
- const discountMayBeApplied =
- user.referrerID && (user.planCode === 'trial' || user.planCode === 'none') && !user.cancellationEffectiveDate
- const coupon = discountMayBeApplied ? REFERRAL_DISCOUNT_CODE : undefined
-
- window.Paddle.Checkout.open({
- product: billingFrequency === BillingFrequency.monthly ? tier.pid : tier.ypid,
- email: user.email,
- passthrough: JSON.stringify({
- uid: user.id,
- }),
- locale: paddleLanguageMapping[language] || language,
- title: tier.name,
- displayModeTheme: theme,
- country: metainfo.country,
- coupon,
- })
+ setPlanCodeLoading(tier.planCode)
+
+ if (!window.Paddle) {
+ toast.error('Payment script has not yet loaded! Please, try again.')
+ setPlanCodeLoading(null)
+ return
}
+
+ const discountMayBeApplied =
+ user.referrerID && (user.planCode === 'trial' || user.planCode === 'none') && !user.cancellationEffectiveDate
+ const coupon = discountMayBeApplied ? REFERRAL_DISCOUNT_CODE : undefined
+
+ window.Paddle.Checkout.open({
+ product: billingFrequency === BillingFrequency.monthly ? tier.pid : tier.ypid,
+ email: user.email,
+ passthrough: JSON.stringify({
+ uid: user.id,
+ }),
+ locale: paddleLanguageMapping[language] || language,
+ title: tier.name,
+ displayModeTheme: theme,
+ country: metainfo.country,
+ coupon,
+ })
}
const closeUpdateModal = (force?: boolean) => {
@@ -227,20 +229,17 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
const userPlancodeID = PLAN_LIMITS[user.planCode]?.index
const planCodeID = selectedTier.index
- const downgrade = planCodeID < userPlancodeID
+ const downgrade = !user.cancellationEffectiveDate && planCodeID < userPlancodeID
let action: string
- if (planCodeID > userPlancodeID) {
+ if (user.cancellationEffectiveDate || ['free', 'trial', 'none'].includes(user.planCode)) {
+ action = t('pricing.subscribe')
+ } else if (planCodeID > userPlancodeID) {
action = t('pricing.upgrade')
} else if (downgrade) {
action = t('pricing.downgrade')
- } else if (
- user.billingFrequency === billingFrequency ||
- user.planCode === 'free' ||
- user.planCode === 'trial' ||
- user.planCode === 'none'
- ) {
+ } else if (user.billingFrequency === billingFrequency) {
action = t('pricing.yourPlan')
} else if (billingFrequency === BillingFrequency.monthly) {
action = t('pricing.switchToMonthly')
@@ -283,8 +282,8 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
onChange={setBillingFrequency}
className='grid grid-cols-2 gap-x-1 rounded-md p-1 text-center text-xs leading-5 font-semibold ring-1 ring-gray-200 ring-inset dark:ring-slate-700'
>
- <RadioGroup.Label className='sr-only'>{t('pricing.frequency')}</RadioGroup.Label>
- <RadioGroup.Option
+ <Label className='sr-only'>{t('pricing.frequency')}</Label>
+ <Radio
key={BillingFrequency.monthly}
value={BillingFrequency.monthly}
className={({ checked }) =>
@@ -295,8 +294,8 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
}
>
<span>{t('pricing.monthlyBilling')}</span>
- </RadioGroup.Option>
- <RadioGroup.Option
+ </Radio>
+ <Radio
key={BillingFrequency.yearly}
value={BillingFrequency.yearly}
className={({ checked }) =>
@@ -306,13 +305,13 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
)
}
>
- <Badge
+ {/* <Badge
label={t('billing.xMonthsFree', { amount: 2 })}
className='absolute -top-5 -left-1 w-max max-w-[200px]'
colour='yellow'
- />
+ /> */}
<span>{t('pricing.yearlyBilling')}</span>
- </RadioGroup.Option>
+ </Radio>
</RadioGroup>
</div>
</div>
@@ -331,20 +330,16 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
/>
<div className='relative mt-5 divide-y rounded-2xl border ring-1 ring-gray-200 dark:ring-slate-700'>
{user.planCode === selectedTier.planCode ? (
- <div className='absolute top-0 left-5 translate-y-px transform'>
- <div className='flex -translate-y-1/2 transform justify-center'>
- <span className='inline-flex rounded-full bg-indigo-600 px-4 py-1 text-sm font-semibold tracking-wider text-white uppercase'>
- {t('pricing.currentPlan')}
- </span>
+ <div className='absolute top-0 left-5 translate-y-px transform border-none'>
+ <div className='flex -translate-y-1/2 transform justify-center bg-gray-50 dark:bg-slate-900'>
+ <Badge label={t('pricing.currentPlan')} colour='indigo' />
</div>
</div>
) : null}
{selectedTier.legacy ? (
- <div className='absolute top-0 right-5 translate-y-px transform'>
- <div className='flex -translate-y-1/2 transform justify-center'>
- <span className='inline-flex rounded-full bg-amber-400 px-2 py-1 text-sm font-semibold tracking-wider text-white uppercase'>
- {t('pricing.legacy')}
- </span>
+ <div className='absolute top-0 right-5 translate-y-px transform border-none'>
+ <div className='flex -translate-y-1/2 transform justify-center bg-gray-50 dark:bg-slate-900'>
+ <Badge label={t('pricing.legacy')} colour='yellow' />
</div>
</div>
) : null}
diff --git a/web/app/hooks/useSize.ts b/web/app/hooks/useSize.ts
index afed85597..3e4400fb3 100644
--- a/web/app/hooks/useSize.ts
+++ b/web/app/hooks/useSize.ts
@@ -1,4 +1,3 @@
-/* eslint-disable consistent-return */
import _get from 'lodash/get'
import type { MutableRefObject } from 'react'
import { useEffect, useRef, useState } from 'react'
diff --git a/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx b/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
index 2c945b243..270417a9f 100644
--- a/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
+++ b/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
@@ -136,7 +136,6 @@ const CreateNewPassword = () => {
t={t}
i18nKey='auth.signup.alreadyAMember'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<Link
to={routes.signin}
diff --git a/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx b/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
index e628a0226..b1eb1991f 100644
--- a/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
+++ b/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
@@ -112,7 +112,6 @@ const ForgotPassword = () => {
t={t}
i18nKey='auth.signin.notAMember'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<Link
to={routes.signup}
diff --git a/web/app/pages/Auth/Signin/Signin.tsx b/web/app/pages/Auth/Signin/Signin.tsx
index a87cd193c..b2104a7cc 100644
--- a/web/app/pages/Auth/Signin/Signin.tsx
+++ b/web/app/pages/Auth/Signin/Signin.tsx
@@ -111,7 +111,6 @@ const Signin = ({ ssrTheme }: SigninProps) => {
const refCode = getCookie(REFERRAL_COOKIE) as string
- // eslint-disable-next-line no-constant-condition
while (true) {
await delay(HASH_CHECK_FREQUENCY)
@@ -283,7 +282,6 @@ const Signin = ({ ssrTheme }: SigninProps) => {
t={t}
i18nKey='auth.signin.2faUnavailable'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
ctl: (
<Link to={routes.contact} className='underline hover:text-gray-900 dark:hover:text-gray-200' />
),
@@ -384,7 +382,6 @@ const Signin = ({ ssrTheme }: SigninProps) => {
t={t}
i18nKey='auth.signin.notAMember'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<Link
to={routes.signup}
diff --git a/web/app/pages/Auth/Signup/Signup.tsx b/web/app/pages/Auth/Signup/Signup.tsx
index 37a90a2dd..1b932fff9 100644
--- a/web/app/pages/Auth/Signup/Signup.tsx
+++ b/web/app/pages/Auth/Signup/Signup.tsx
@@ -173,7 +173,6 @@ const Signup = ({ ssrTheme }: SignupProps) => {
const refCode = getCookie(REFERRAL_COOKIE) as string
- // eslint-disable-next-line no-constant-condition
while (true) {
await delay(HASH_CHECK_FREQUENCY)
@@ -297,7 +296,6 @@ const Signup = ({ ssrTheme }: SignupProps) => {
t={t}
i18nKey='auth.signup.tos'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
tos: (
<Link
to={routes.terms}
@@ -305,7 +303,7 @@ const Signup = ({ ssrTheme }: SignupProps) => {
aria-label={t('footer.tos')}
/>
),
- // eslint-disable-next-line jsx-a11y/anchor-has-content
+
pp: (
<Link
to={routes.privacy}
@@ -341,7 +339,6 @@ const Signup = ({ ssrTheme }: SignupProps) => {
t={t}
i18nKey='auth.common.checkLeakedPasswordDesc'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
db: (
<a
href={HAVE_I_BEEN_PWNED_URL}
@@ -386,7 +383,6 @@ const Signup = ({ ssrTheme }: SignupProps) => {
t={t}
i18nKey='auth.signup.alreadyAMember'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<Link
to={routes.signin}
diff --git a/web/app/pages/Auth/Socialised/index.tsx b/web/app/pages/Auth/Socialised/index.tsx
index ad2246bff..ebf0dd0e2 100644
--- a/web/app/pages/Auth/Socialised/index.tsx
+++ b/web/app/pages/Auth/Socialised/index.tsx
@@ -58,7 +58,7 @@ const Socialised = () => {
setLoading(true)
processCode()
- }, []) // eslint-disable-line
+ }, [])
if (loading) {
return (
diff --git a/web/app/pages/Billing/index.tsx b/web/app/pages/Billing/index.tsx
index 4ec6dc237..c9412d364 100644
--- a/web/app/pages/Billing/index.tsx
+++ b/web/app/pages/Billing/index.tsx
@@ -94,7 +94,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
const eventCallback = (data: any) => {
dispatch(UIActions.setPaddleLastEvent(data))
}
- // eslint-disable-next-line no-use-before-define
+
const interval = setInterval(paddleSetup, 200)
// prettier-ignore
@@ -312,12 +312,12 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
<div className='mt-8 flex flex-col'>
<Pricing authenticated={authenticated} isBillingPage />
<div className='mt-2 space-y-2'>
- {subUpdateURL ? (
+ {subUpdateURL && !cancellationEffectiveDate ? (
<Button className='mr-2' onClick={onUpdatePaymentDetails} type='button' primary large>
{t('billing.update')}
</Button>
) : null}
- {subCancelURL ? (
+ {subCancelURL && !cancellationEffectiveDate ? (
<Button onClick={() => setIsCancelSubModalOpened(true)} type='button' semiDanger large>
{t('billing.cancelSub')}
</Button>
diff --git a/web/app/pages/Captcha/View/ViewCaptcha.tsx b/web/app/pages/Captcha/View/ViewCaptcha.tsx
index 4bd4a3642..20bbad884 100644
--- a/web/app/pages/Captcha/View/ViewCaptcha.tsx
+++ b/web/app/pages/Captcha/View/ViewCaptcha.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/no-unstable-nested-components, react/display-name */
import { GlobeAltIcon } from '@heroicons/react/24/outline'
import billboard from 'billboard.js'
import cx from 'clsx'
@@ -201,7 +200,6 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
let newTimebucket = timeBucket
if (period === KEY_FOR_ALL_TIME && !_isEmpty(timeBucketFromResponse)) {
- // eslint-disable-next-line prefer-destructuring
newTimebucket = _includes(timeBucketFromResponse, timeBucket) ? timeBucket : timeBucketFromResponse[0]
setPeriodPairs((prev) => {
// find in prev state period === KEY_FOR_ALL_TIME and change tbs
@@ -280,7 +278,6 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
const filterHandler = (column: any, filter: any, isExclusive = false) => {
let newFilters
- // eslint-disable-next-line no-lonely-if
if (_find(filters, (f) => f.column === column) /* && f.filter === filter) */) {
// selected filter is already included into the filters array -> removing it
// removing filter from the state
@@ -480,13 +477,12 @@ const ViewCaptcha = ({ ssrTheme }: ViewCaptchaProps) => {
const url = new URL(window.location)
// setting allowed time buckets for the specified date range (period)
- // eslint-disable-next-line no-restricted-syntax
+
for (const index in timeBucketToDays) {
if (timeBucketToDays[index].lt >= days) {
let eventEmitTimeBucket = timeBucket
if (!onRender && !_includes(timeBucketToDays[index].tb, timeBucket)) {
- // eslint-disable-next-line prefer-destructuring
eventEmitTimeBucket = timeBucketToDays[index].tb[0]
url.searchParams.delete('timeBucket')
url.searchParams.append('timeBucket', eventEmitTimeBucket)
diff --git a/web/app/pages/Captcha/View/components/NoEvents.tsx b/web/app/pages/Captcha/View/components/NoEvents.tsx
index c7007ea4a..5573b38fb 100644
--- a/web/app/pages/Captcha/View/components/NoEvents.tsx
+++ b/web/app/pages/Captcha/View/components/NoEvents.tsx
@@ -23,7 +23,6 @@ const NoEvents = ({ filters, resetFilters }: NoEventsProps) => {
t={t}
i18nKey='project.noCaptchaEv'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<a
href={DOCS_CAPTCHA_URL}
diff --git a/web/app/pages/Changelog/index.tsx b/web/app/pages/Changelog/index.tsx
index 0330b1ac8..aac284ec9 100644
--- a/web/app/pages/Changelog/index.tsx
+++ b/web/app/pages/Changelog/index.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable jsx-a11y/anchor-has-content */
import dayjs from 'dayjs'
import _map from 'lodash/map'
import { useTranslation } from 'react-i18next'
diff --git a/web/app/pages/Contact/index.tsx b/web/app/pages/Contact/index.tsx
index 3fec9fbd2..0c294e275 100644
--- a/web/app/pages/Contact/index.tsx
+++ b/web/app/pages/Contact/index.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable jsx-a11y/anchor-has-content */
import { SquareArrowOutUpRightIcon } from 'lucide-react'
import { useTranslation, Trans } from 'react-i18next'
diff --git a/web/app/pages/CookiePolicy/index.tsx b/web/app/pages/CookiePolicy/index.tsx
index 1ac0e592f..2029d555b 100644
--- a/web/app/pages/CookiePolicy/index.tsx
+++ b/web/app/pages/CookiePolicy/index.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/no-unescaped-entities */
import _map from 'lodash/map'
const typesOfCookies = [
diff --git a/web/app/pages/ErrorTracking/index.tsx b/web/app/pages/ErrorTracking/index.tsx
index 4106a10e3..990cbf623 100644
--- a/web/app/pages/ErrorTracking/index.tsx
+++ b/web/app/pages/ErrorTracking/index.tsx
@@ -185,11 +185,10 @@ const ErrorTracking = ({ ssrTheme, ssrAuthenticated }: ErrorTrackingProps) => {
t={t}
i18nKey='errors.fast.desc'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
indexUrl: (
<Link to={routesPath.main} className='font-medium text-red-600 hover:underline dark:text-red-400' />
),
- // eslint-disable-next-line jsx-a11y/anchor-has-content
+
perfUrl: (
<Link
to={routesPath.performance}
diff --git a/web/app/pages/Imprint/index.tsx b/web/app/pages/Imprint/index.tsx
index 4857f321a..958c71bf1 100644
--- a/web/app/pages/Imprint/index.tsx
+++ b/web/app/pages/Imprint/index.tsx
@@ -1,5 +1,3 @@
-/* eslint-disable react/no-unescaped-entities */
-
import { CONTACT_EMAIL } from '~/lib/constants'
const Imprint = () => {
diff --git a/web/app/pages/Organisations/Settings/People.tsx b/web/app/pages/Organisations/Settings/People.tsx
index 89f24f18b..a4a62ea9f 100644
--- a/web/app/pages/Organisations/Settings/People.tsx
+++ b/web/app/pages/Organisations/Settings/People.tsx
@@ -377,7 +377,7 @@ const People = ({ organisation, reloadOrganisation }: PeopleProps) => {
error={beenSubmitted ? errors.email : null}
/>
<fieldset className='mt-4'>
- {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}
+ {}
<label className='block text-sm font-medium text-gray-700 dark:text-gray-300' htmlFor='role'>
{t('project.settings.role')}
</label>
diff --git a/web/app/pages/Performance/index.tsx b/web/app/pages/Performance/index.tsx
index 4964eac0e..6a3adbbb7 100644
--- a/web/app/pages/Performance/index.tsx
+++ b/web/app/pages/Performance/index.tsx
@@ -242,14 +242,13 @@ const Performance = ({ ssrTheme, ssrAuthenticated }: PerformanceProps) => {
t={t}
i18nKey='performance.fast.desc'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
indexUrl: (
<Link
to={routesPath.main}
className='font-medium text-orange-600 hover:underline dark:text-orange-400'
/>
),
- // eslint-disable-next-line jsx-a11y/anchor-has-content
+
wpostatsUrl: (
<a
href='https://wpostats.com/?utm_source=swetrix.com'
diff --git a/web/app/pages/Privacy/index.tsx b/web/app/pages/Privacy/index.tsx
index 11b95cc54..fd1b8efe4 100644
--- a/web/app/pages/Privacy/index.tsx
+++ b/web/app/pages/Privacy/index.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/no-unescaped-entities */
import _map from 'lodash/map'
import { CONTACT_EMAIL, SECURITY_EMAIL, DOCS_URL } from '~/lib/constants'
diff --git a/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx b/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx
index 7ea5c2024..7ecd0044d 100644
--- a/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx
+++ b/web/app/pages/Project/Alerts/Settings/ProjectAlertsSettings.tsx
@@ -312,7 +312,6 @@ const ProjectAlertsSettings = ({ isSettings }: ProjectAlertsSettingsProps) => {
t={t}
i18nKey='alert.noIntegration'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: <Link to={INTEGRATIONS_LINK} className='text-blue-600 hover:underline dark:text-blue-500' />,
}}
/>
diff --git a/web/app/pages/Project/Settings/People/People.tsx b/web/app/pages/Project/Settings/People/People.tsx
index 58e8f8d60..76be6ec83 100644
--- a/web/app/pages/Project/Settings/People/People.tsx
+++ b/web/app/pages/Project/Settings/People/People.tsx
@@ -374,7 +374,7 @@ const People = ({ project }: PeopleProps) => {
error={beenSubmitted ? errors.email : null}
/>
<fieldset className='mt-4'>
- {/* eslint-disable-next-line jsx-a11y/label-has-associated-control */}
+ {}
<label className='block text-sm font-medium text-gray-700 dark:text-gray-300' htmlFor='role'>
{t('project.settings.role')}
</label>
diff --git a/web/app/pages/Project/Settings/ProjectSettings.tsx b/web/app/pages/Project/Settings/ProjectSettings.tsx
index 3d5606520..af8ea6641 100644
--- a/web/app/pages/Project/Settings/ProjectSettings.tsx
+++ b/web/app/pages/Project/Settings/ProjectSettings.tsx
@@ -187,7 +187,6 @@ const ModalMessage = ({
<MultiSelect
className='max-w-max'
items={searchList}
- // eslint-disable-next-line react/no-unstable-nested-components
labelExtractor={(item) => {
if (filterType === 'cc') {
return <CCRow cc={item} language={language} />
@@ -195,7 +194,6 @@ const ModalMessage = ({
return item
}}
- // eslint-disable-next-line react/no-unstable-nested-components
itemExtractor={(item) => {
if (filterType === 'cc') {
return <CCRow cc={item} language={language} />
diff --git a/web/app/pages/Project/View/Panels.tsx b/web/app/pages/Project/View/Panels.tsx
index 41ddf9639..4471c3dda 100644
--- a/web/app/pages/Project/View/Panels.tsx
+++ b/web/app/pages/Project/View/Panels.tsx
@@ -71,11 +71,9 @@ const removeDuplicates = (arr: any[], keys: string[]) => {
const uniqueObjects: any[] = []
const isDuplicate = (obj: any) => {
- // eslint-disable-next-line
for (const uniqueObj of uniqueObjects) {
let isMatch = true
- // eslint-disable-next-line
for (const key of keys) {
if (uniqueObj[key] !== obj[key]) {
isMatch = false
@@ -89,7 +87,6 @@ const removeDuplicates = (arr: any[], keys: string[]) => {
return false
}
- // eslint-disable-next-line
for (const obj of arr) {
if (!isDuplicate(obj)) {
uniqueObjects.push(obj)
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index 84a57ad80..93a47f29e 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -597,7 +597,6 @@ const ViewProject = () => {
}
return findActivePeriod?.countDays || 0
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [isActiveCompare, period])
useEffect(() => {
@@ -915,7 +914,6 @@ const ViewProject = () => {
})
}
- // eslint-disable-next-line react-hooks/exhaustive-deps
const switchActiveErrorFilter = useCallback(
_debounce((pairID: string) => {
setErrorOptions((prev) => ({ ...prev, [pairID]: !prev[pairID] }))
@@ -1095,7 +1093,6 @@ const ViewProject = () => {
if (activeTab === PROJECT_TABS.traffic) {
loadCustomEvents()
}
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [activeChartMetricsCustomEvents])
const compareDisable = () => {
@@ -1473,7 +1470,6 @@ const ViewProject = () => {
setActivePSID(psid)
}
}
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [authLoading])
useEffect(() => {
@@ -1482,7 +1478,6 @@ const ViewProject = () => {
}
loadSession(activePSID)
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [period, dateRange, timeBucket, activePSID])
useEffect(() => {
@@ -1491,7 +1486,6 @@ const ViewProject = () => {
}
loadError(activeEID)
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [period, dateRange, timeBucket, activeEID, filtersSubError, areFiltersParsed])
const loadSessions = async (forcedSkip?: number) => {
@@ -1748,7 +1742,6 @@ const ViewProject = () => {
let newTimebucket = timeBucket
if (period === KEY_FOR_ALL_TIME && !_isEmpty(dataPerf.timeBucket)) {
- // eslint-disable-next-line prefer-destructuring
newTimebucket = _includes(dataPerf.timeBucket, timeBucket) ? timeBucket : dataPerf.timeBucket[0]
setPeriodPairs((prev) => {
const newPeriodPairs = _map(prev, (item) => {
@@ -2170,8 +2163,6 @@ const ViewProject = () => {
if (!areFiltersParsed || activeTab !== PROJECT_TABS.traffic || authLoading || !project) return
loadAnalytics()
-
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [
mode,
areFiltersParsed,
@@ -2190,8 +2181,6 @@ const ViewProject = () => {
if (!areFiltersParsed || activeTab !== PROJECT_TABS.performance || authLoading || !project) return
loadAnalyticsPerf()
-
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [
areFiltersParsed,
activeTab,
@@ -2210,8 +2199,6 @@ const ViewProject = () => {
if (activeTab !== PROJECT_TABS.funnels || authLoading || !project) return
loadFunnelsData()
-
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [activeFunnel, activeTab, authLoading, project, dateRange, period, timeBucket])
useEffect(() => {
@@ -2220,8 +2207,6 @@ const ViewProject = () => {
}
loadSessions()
-
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [
activeTab,
dateRange,
@@ -2241,8 +2226,6 @@ const ViewProject = () => {
}
loadErrors()
-
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [
activeTab,
errorOptions,
@@ -2260,7 +2243,6 @@ const ViewProject = () => {
useEffect(() => {
searchParams.set('tab', activeTab)
setSearchParams(searchParams)
- // eslint-disable-next-line react-hooks/exhaustive-deps
}, [activeTab])
useEffect(() => {
@@ -2343,7 +2325,7 @@ const ViewProject = () => {
return generate
})
}
- }, [authLoading, activeChartMetrics, chartData, chartDataPerf, activeChartMetricsPerf, dataChartCompare]) // eslint-disable-line
+ }, [authLoading, activeChartMetrics, chartData, chartDataPerf, activeChartMetricsPerf, dataChartCompare])
useEffect(() => {
let sdk: any | null = null
@@ -2432,7 +2414,7 @@ const ViewProject = () => {
timeBucket,
dateRange: period === 'custom' ? dateRange : null,
})
- }, [sdkInstance]) // eslint-disable-line
+ }, [sdkInstance])
useEffect(() => {
sdkInstance?._emitEvent('clientinfo', {
@@ -2455,7 +2437,7 @@ const ViewProject = () => {
created,
isPublic,
})
- }, [sdkInstance, project]) // eslint-disable-line
+ }, [sdkInstance, project])
useEffect(() => {
setPeriodPairs(tbPeriodPairs(t, undefined, undefined, language))
@@ -2477,13 +2459,11 @@ const ViewProject = () => {
const onRangeDateChange = (dates: Date[], onRender?: boolean) => {
const days = Math.ceil(Math.abs(dates[1].getTime() - dates[0].getTime()) / (1000 * 3600 * 24))
- // eslint-disable-next-line no-restricted-syntax
for (const index in timeBucketToDays) {
if (timeBucketToDays[index].lt >= days) {
let eventEmitTimeBucket = timeBucket
if (!onRender && !_includes(timeBucketToDays[index].tb, timeBucket)) {
- // eslint-disable-next-line prefer-destructuring
eventEmitTimeBucket = timeBucketToDays[index].tb[0]
searchParams.set('timeBucket', eventEmitTimeBucket)
setTimebucket(eventEmitTimeBucket)
@@ -2525,13 +2505,13 @@ const ViewProject = () => {
if (!_isEmpty(activeChartMetricsCustomEvents)) {
setActiveChartMetricsCustomEvents([])
}
- }, [period, filters]) // eslint-disable-line
+ }, [period, filters])
useEffect(() => {
if (dateRange && areFiltersParsed) {
onRangeDateChange(dateRange)
}
- }, [dateRange, t, areFiltersParsed]) // eslint-disable-line
+ }, [dateRange, t, areFiltersParsed])
useEffect(() => {
if (!project || project.isLocked) {
@@ -2579,7 +2559,7 @@ const ViewProject = () => {
console.error('[ERROR] (getProject)', reason)
onErrorLoading()
})
- }, [authLoading, project, id]) // eslint-disable-line
+ }, [authLoading, project, id])
const updatePeriod = (newPeriod: { period: string; label?: string }) => {
if (period === newPeriod.period) {
diff --git a/web/app/pages/Project/View/components/ErrorChart.tsx b/web/app/pages/Project/View/components/ErrorChart.tsx
index b99a6efa6..9d66f1125 100644
--- a/web/app/pages/Project/View/components/ErrorChart.tsx
+++ b/web/app/pages/Project/View/components/ErrorChart.tsx
@@ -1,4 +1,4 @@
-import billboard from 'billboard.js'
+import billboard, { type ChartOptions } from 'billboard.js'
import { useEffect } from 'react'
import { getSettingsError } from '../ViewProject.helpers'
@@ -17,13 +17,7 @@ interface ErrorChartProps {
export const ErrorChart = ({ chart, timeBucket, timeFormat, rotateXAxis, chartType, dataNames }: ErrorChartProps) => {
useEffect(() => {
- const bbSettings: bb.ChartOptions = getSettingsError(
- chart,
- timeBucket as string,
- timeFormat,
- rotateXAxis,
- chartType,
- )
+ const bbSettings: ChartOptions = getSettingsError(chart, timeBucket as string, timeFormat, rotateXAxis, chartType)
const generate = billboard.generate(bbSettings)
generate.data.names(dataNames)
diff --git a/web/app/pages/Project/View/components/SessionChart.tsx b/web/app/pages/Project/View/components/SessionChart.tsx
index e3adc62c4..4cb674078 100644
--- a/web/app/pages/Project/View/components/SessionChart.tsx
+++ b/web/app/pages/Project/View/components/SessionChart.tsx
@@ -1,4 +1,4 @@
-import billboard from 'billboard.js'
+import billboard, { type ChartOptions } from 'billboard.js'
import { useEffect } from 'react'
import { getSettingsSession } from '../ViewProject.helpers'
@@ -24,13 +24,7 @@ export const SessionChart = ({
dataNames,
}: SessionChartProps) => {
useEffect(() => {
- const bbSettings: bb.ChartOptions = getSettingsSession(
- chart,
- timeBucket as string,
- timeFormat,
- rotateXAxis,
- chartType,
- )
+ const bbSettings: ChartOptions = getSettingsSession(chart, timeBucket as string, timeFormat, rotateXAxis, chartType)
const generate = billboard.generate(bbSettings)
generate.data.names(dataNames)
diff --git a/web/app/pages/Project/View/components/WaitingForAnError.tsx b/web/app/pages/Project/View/components/WaitingForAnError.tsx
index 08b43b5bd..4a586c762 100644
--- a/web/app/pages/Project/View/components/WaitingForAnError.tsx
+++ b/web/app/pages/Project/View/components/WaitingForAnError.tsx
@@ -25,7 +25,6 @@ const WaitingForAnError = () => {
t={t}
i18nKey='project.waitingError.desc'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
turl: (
<a
href={TROUBLESHOOTING_URL}
diff --git a/web/app/pages/Project/View/components/WaitingForAnEvent.tsx b/web/app/pages/Project/View/components/WaitingForAnEvent.tsx
index 33fbab31d..9463c7a1d 100644
--- a/web/app/pages/Project/View/components/WaitingForAnEvent.tsx
+++ b/web/app/pages/Project/View/components/WaitingForAnEvent.tsx
@@ -34,7 +34,6 @@ const WaitingForAnEvent = ({ project }: WaitingForAnEventProps) => {
t={t}
i18nKey='project.waiting.desc'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
turl: (
<a
href={TROUBLESHOOTING_URL}
diff --git a/web/app/pages/Terms/index.tsx b/web/app/pages/Terms/index.tsx
index 3fd7f6ee7..c89ece483 100644
--- a/web/app/pages/Terms/index.tsx
+++ b/web/app/pages/Terms/index.tsx
@@ -1,5 +1,3 @@
-/* eslint-disable react/no-unescaped-entities */
-
import { CONTACT_EMAIL } from '~/lib/constants'
const Terms = () => {
diff --git a/web/app/pages/UserSettings/UserSettings.tsx b/web/app/pages/UserSettings/UserSettings.tsx
index cd79425c3..87e79db36 100644
--- a/web/app/pages/UserSettings/UserSettings.tsx
+++ b/web/app/pages/UserSettings/UserSettings.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable no-param-reassign */
import {
EnvelopeIcon,
ExclamationTriangleIcon,
@@ -190,7 +189,6 @@ const UserSettings = () => {
const onSubmit = async (data: any, callback: (isSuccess: boolean) => void = () => {}) => {
delete data.repeat
- // eslint-disable-next-line no-restricted-syntax
for (const key in data) {
if (data[key] === '') {
delete data[key]
diff --git a/web/app/pages/UserSettings/components/Integrations.tsx b/web/app/pages/UserSettings/components/Integrations.tsx
index 464b2dad2..a494df5e6 100644
--- a/web/app/pages/UserSettings/components/Integrations.tsx
+++ b/web/app/pages/UserSettings/components/Integrations.tsx
@@ -246,7 +246,6 @@ const Integrations = ({ handleIntegrationSave }: IntegrationsProps) => {
t={t}
i18nKey='profileSettings.integrationsList.tgHint'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<a
href={TG_BOT_URL}
@@ -302,7 +301,6 @@ const Integrations = ({ handleIntegrationSave }: IntegrationsProps) => {
t={t}
i18nKey='profileSettings.integrationsList.slackHint'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<a
href={SLACK_WEBHOOKS_HELP}
@@ -355,7 +353,6 @@ const Integrations = ({ handleIntegrationSave }: IntegrationsProps) => {
t={t}
i18nKey='profileSettings.integrationsList.discordHint'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<a
href={DISCORD_WEBHOOKS_HELP}
diff --git a/web/app/pages/UserSettings/components/Socialisations.tsx b/web/app/pages/UserSettings/components/Socialisations.tsx
index e9c7aad1a..fe1d6d15d 100644
--- a/web/app/pages/UserSettings/components/Socialisations.tsx
+++ b/web/app/pages/UserSettings/components/Socialisations.tsx
@@ -80,7 +80,6 @@ const Socialisations = () => {
// Closing the authorisation window after the session expires
setTimeout(authWindow.close, expiresIn)
- // eslint-disable-next-line no-constant-condition
while (true) {
await delay(HASH_CHECK_FREQUENCY)
diff --git a/web/app/root.tsx b/web/app/root.tsx
index d00ce5bb3..6bfb296a9 100644
--- a/web/app/root.tsx
+++ b/web/app/root.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable no-undef */
import { ExclamationTriangleIcon, ChevronDownIcon, ChevronUpIcon } from '@heroicons/react/24/outline'
import BillboardCss from 'billboard.js/dist/billboard.min.css?url'
import cx from 'clsx'
@@ -234,10 +233,7 @@ export default function App() {
type='application/json'
crossOrigin='anonymous'
/>
- <script
- // eslint-disable-next-line react/no-danger
- dangerouslySetInnerHTML={{ __html: `window.REMIX_ENV = ${JSON.stringify(REMIX_ENV)}` }}
- />
+ <script dangerouslySetInnerHTML={{ __html: `window.REMIX_ENV = ${JSON.stringify(REMIX_ENV)}` }} />
</head>
<body className={cx({ 'bg-white': theme === 'light', 'bg-slate-900': theme === 'dark' })}>
<Provider store={store}>
diff --git a/web/app/routes/_index.tsx b/web/app/routes/_index.tsx
index 6ee40ac0a..95ca55e79 100644
--- a/web/app/routes/_index.tsx
+++ b/web/app/routes/_index.tsx
@@ -222,7 +222,6 @@ const WeAreOpensource = ({ theme }: { theme: 'dark' | 'light' }) => {
t={t}
i18nKey='main.weAreOpensource'
components={{
- // eslint-disable-next-line jsx-a11y/anchor-has-content
url: (
<a
href={GITHUB_URL}
diff --git a/web/app/ui/Button.tsx b/web/app/ui/Button.tsx
index b7a78ff05..e062cd5ea 100644
--- a/web/app/ui/Button.tsx
+++ b/web/app/ui/Button.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/button-has-type */
import { Button as HeadlessButton } from '@headlessui/react'
import cx from 'clsx'
import React, { memo } from 'react'
diff --git a/web/app/ui/Flatpicker.tsx b/web/app/ui/Flatpicker.tsx
index 6ce21f012..acd103292 100644
--- a/web/app/ui/Flatpicker.tsx
+++ b/web/app/ui/Flatpicker.tsx
@@ -1,4 +1,3 @@
-/* eslint-disable react/no-unused-class-component-methods, class-methods-use-this */
import cx from 'clsx'
import _size from 'lodash/size'
import _split from 'lodash/split'
@@ -58,7 +57,7 @@ class FlatPicker extends React.Component<
if (this.calendar.current) {
this.setState({
maxDate: 'today',
- // eslint-disable-next-line react/destructuring-assignment
+
minDate: this.removeMonths(new Date(), this.props?.maxDateMonths || MAX_MONTHS_IN_PAST),
})
this.calendar.current.flatpickr.open()
diff --git a/web/app/ui/TimezonePicker.tsx b/web/app/ui/TimezonePicker.tsx
index 0ae3bda08..1cc855492 100644
--- a/web/app/ui/TimezonePicker.tsx
+++ b/web/app/ui/TimezonePicker.tsx
@@ -20,7 +20,7 @@ const options = _reduce(
const altName = now.isDST() ? tzStrings[0].daylight?.name : tzStrings[0].standard?.name
const min = tz.current.offset * 60
- // eslint-disable-next-line prefer-template
+
const hr = `${(min / 60) ^ 0}:` + (min % 60 === 0 ? '00' : Math.abs(min % 60))
const label = `(GMT${_includes(hr, '-') ? hr : `+${hr}`}) ${zone[1]}`
diff --git a/web/eslint.config.js b/web/eslint.config.js
new file mode 100644
index 000000000..913e3933d
--- /dev/null
+++ b/web/eslint.config.js
@@ -0,0 +1,145 @@
+import js from '@eslint/js'
+import globals from 'globals'
+import reactPlugin from 'eslint-plugin-react'
+import reactHooksPlugin from 'eslint-plugin-react-hooks'
+import jsxA11yPlugin from 'eslint-plugin-jsx-a11y'
+import typescriptEslint from '@typescript-eslint/eslint-plugin'
+import typescriptParser from '@typescript-eslint/parser'
+import importPlugin from 'eslint-plugin-import'
+import unusedImportsPlugin from 'eslint-plugin-unused-imports'
+import prettierConfig from 'eslint-config-prettier'
+
+export default [
+ // Base config for all files
+ {
+ ignores: ['node_modules/**', 'build/**', 'public/build/**', '.react-router/**'],
+ },
+
+ {
+ languageOptions: {
+ parserOptions: {
+ ecmaVersion: 'latest',
+ sourceType: 'module',
+ ecmaFeatures: { jsx: true },
+ },
+ globals: {
+ ...globals.browser,
+ ...globals.commonjs,
+ ...globals.es2021,
+ process: 'readonly',
+ React: 'readonly',
+ HeadersInit: 'readonly',
+ FormDataEntryValue: 'readonly',
+ },
+ },
+ linterOptions: {
+ reportUnusedDisableDirectives: true,
+ },
+ files: ['**/*.{js,jsx,ts,tsx}'],
+ rules: js.configs.recommended.rules,
+ },
+
+ // React configuration
+ {
+ files: ['**/*.{js,jsx,ts,tsx}'],
+ plugins: {
+ react: reactPlugin,
+ 'jsx-a11y': jsxA11yPlugin,
+ 'react-hooks': reactHooksPlugin,
+ },
+ languageOptions: {
+ parserOptions: {
+ ecmaFeatures: { jsx: true },
+ },
+ },
+ settings: {
+ react: { version: 'detect' },
+ formComponents: ['Form'],
+ linkComponents: [
+ { name: 'Link', linkAttribute: 'to' },
+ { name: 'NavLink', linkAttribute: 'to' },
+ ],
+ },
+ rules: {
+ ...reactPlugin.configs.recommended.rules,
+ ...reactPlugin.configs['jsx-runtime'].rules,
+ ...reactHooksPlugin.configs.recommended.rules,
+ ...jsxA11yPlugin.configs.recommended.rules,
+ 'react/jsx-no-leaked-render': ['warn', { validStrategies: ['ternary'] }],
+ 'react/prop-types': 'off',
+
+ // TODO: Re-enable these rules in future
+ 'jsx-a11y/anchor-has-content': 'off',
+ 'jsx-a11y/click-events-have-key-events': 'off',
+ 'jsx-a11y/no-noninteractive-element-interactions': 'off',
+ 'react/no-unescaped-entities': 'off',
+ 'jsx-a11y/no-static-element-interactions': 'off',
+ },
+ },
+
+ // TypeScript configuration
+ {
+ files: ['**/*.{ts,tsx}'],
+ plugins: {
+ '@typescript-eslint': typescriptEslint,
+ import: importPlugin,
+ 'unused-imports': unusedImportsPlugin,
+ },
+ languageOptions: {
+ parser: typescriptParser,
+ parserOptions: {
+ project: false,
+ },
+ },
+ settings: {
+ 'import/internal-regex': '^~/',
+ 'import/resolver': {
+ node: { extensions: ['.ts', '.tsx'] },
+ typescript: { alwaysTryTypes: true },
+ },
+ },
+ rules: {
+ ...typescriptEslint.configs.recommended.rules,
+ ...importPlugin.configs.recommended.rules,
+ ...importPlugin.configs.typescript.rules,
+ 'jsx-quotes': ['error', 'prefer-single'],
+ 'comma-dangle': ['warn', 'always-multiline'],
+ 'import/order': [
+ 'error',
+ {
+ alphabetize: { caseInsensitive: true, order: 'asc' },
+ groups: ['builtin', 'external', 'internal', 'parent', 'sibling'],
+ 'newlines-between': 'always',
+ },
+ ],
+ '@typescript-eslint/no-explicit-any': 'off',
+ '@typescript-eslint/no-unused-vars': 'off',
+ '@typescript-eslint/prefer-for-of': 'off',
+ '@typescript-eslint/ban-ts-comment': 'off',
+ '@typescript-eslint/no-empty-function': 'off',
+ 'unused-imports/no-unused-imports': 'error',
+ 'unused-imports/no-unused-vars': [
+ 'warn',
+ {
+ vars: 'all',
+ varsIgnorePattern: '^_',
+ args: 'after-used',
+ argsIgnorePattern: '^_',
+ },
+ ],
+ },
+ },
+
+ // Node environment configuration
+ {
+ files: ['.eslintrc.cjs', 'eslint.config.js'],
+ languageOptions: {
+ globals: {
+ ...globals.node,
+ },
+ },
+ },
+
+ // Apply prettier config as the last one to override other formatting rules
+ prettierConfig,
+]
diff --git a/web/fly_import_env.cjs b/web/fly_import_env.cjs
index d855efa5a..de39ec5e0 100644
--- a/web/fly_import_env.cjs
+++ b/web/fly_import_env.cjs
@@ -1,7 +1,7 @@
const fs = require('fs')
const { execSync } = require('child_process')
-// eslint-disable-next-line no-undef
+
const args = process.argv.slice(2)
function parseArgs(args) {
diff --git a/web/knip.jsonc b/web/knip.jsonc
index 7ff961f60..131ae0799 100644
--- a/web/knip.jsonc
+++ b/web/knip.jsonc
@@ -1,6 +1,14 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
- "ignoreDependencies": ["@typescript-eslint/typescript-estree", "@tailwindcss/forms", "@tailwindcss/typography", "tailwindcss", "eslint-import-resolver-node", "@types/ua-parser-js"],
+ "ignoreDependencies": [
+ "@typescript-eslint/typescript-estree",
+ "@tailwindcss/forms",
+ "@tailwindcss/typography",
+ "tailwindcss",
+ "eslint-import-resolver-node",
+ "@types/ua-parser-js",
+ "eslint-import-resolver-typescript"
+ ],
"ignoreBinaries": ["flyctl"],
"ignore": ["./ecosystem.config.js", "./app/routes.ts", "./react-router.config.ts", "./app/routes/[robots.txt].tsx"],
"entry": ["./app/root.tsx"],
diff --git a/web/package-lock.json b/web/package-lock.json
index 53e85c065..02b485949 100644
--- a/web/package-lock.json
+++ b/web/package-lock.json
@@ -4,6 +4,7 @@
"requires": true,
"packages": {
"": {
+ "name": "web",
"license": "AGPL-3.0",
"dependencies": {
"@headlessui/react": "^2.2.0",
@@ -25,9 +26,11 @@
"d3": "^7.9.0",
"dangerously-set-html-content": "^1.1.0",
"dayjs": "^1.11.13",
+ "eslint-import-resolver-typescript": "^3.8.3",
"file-saver": "^2.0.5",
"flatpickr": "^4.6.13",
"framer-motion": "^12.4.7",
+ "globals": "^16.0.0",
"i18n-iso-countries": "^7.14.0",
"i18next": "^24.2.2",
"i18next-browser-languagedetector": "^8.0.4",
@@ -59,11 +62,11 @@
"ua-parser-js": "^2.0.2"
},
"devDependencies": {
+ "@eslint/js": "^9.21.0",
"@react-router/dev": "^7.1.5",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@types/d3": "^7.4.3",
- "@types/eslint": "^9.6.1",
"@types/file-saver": "^2.0.7",
"@types/lodash": "^4.17.15",
"@types/node": "^22.13.5",
@@ -71,28 +74,27 @@
"@types/react-dom": "^18.3.1",
"@types/react-flatpickr": "^3.8.11",
"@types/react-outside-click-handler": "^1.3.4",
- "@typescript-eslint/eslint-plugin": "^8.25.0",
- "@typescript-eslint/parser": "^8.25.0",
- "@typescript-eslint/typescript-estree": "^8.25.0",
+ "@typescript-eslint/eslint-plugin": "^8.26.0",
+ "@typescript-eslint/parser": "^8.26.0",
+ "@typescript-eslint/typescript-estree": "^8.26.0",
"cross-env": "^7.0.3",
- "eslint": "^8.57.0",
- "eslint-config-prettier": "^10.0.1",
+ "eslint": "^9.21.0",
+ "eslint-config-prettier": "^10.0.2",
"eslint-import-resolver-node": "^0.3.9",
- "eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
- "eslint-plugin-react-hooks": "^5.1.0",
+ "eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-unused-imports": "^4.1.4",
"knip": "^5.45.0",
- "prettier": "^3.5.2",
+ "prettier": "^3.5.3",
"tailwindcss": "^4.0.9",
- "typescript": "^5.7.3",
+ "typescript": "^5.8.2",
"vite": "^6.2.0",
"vite-tsconfig-paths": "^5.1.4"
},
"engines": {
- "node": ">=20"
+ "node": ">=22"
}
},
"node_modules/@ampproject/remapping": {
@@ -546,6 +548,15 @@
"node": ">=6.9.0"
}
},
+ "node_modules/@babel/traverse/node_modules/globals": {
+ "version": "11.12.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=4"
+ }
+ },
"node_modules/@babel/types": {
"version": "7.26.8",
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.8.tgz",
@@ -978,7 +989,6 @@
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz",
"integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"eslint-visitor-keys": "^3.4.3"
@@ -997,23 +1007,69 @@
"version": "4.12.1",
"resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz",
"integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
}
},
+ "node_modules/@eslint/config-array": {
+ "version": "0.19.2",
+ "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.2.tgz",
+ "integrity": "sha512-GNKqxfHG2ySmJOBSHg7LxeUx4xpuCoFjacmlCoYWEbaPXLwvfIjixRI12xCQZeULksQb23uiA8F40w5TojpV7w==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/object-schema": "^2.1.6",
+ "debug": "^4.3.1",
+ "minimatch": "^3.1.2"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/config-array/node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "license": "MIT",
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/@eslint/config-array/node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "license": "ISC",
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/@eslint/core": {
+ "version": "0.12.0",
+ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.12.0.tgz",
+ "integrity": "sha512-cmrR6pytBuSMTaBweKoGMwu3EiHiEC+DoyupPmlZ0HxBJBtIxwe+j/E4XPIKNx+Q74c8lXKPwYawBf5glsTkHg==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@types/json-schema": "^7.0.15"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
"node_modules/@eslint/eslintrc": {
- "version": "2.1.4",
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
- "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
- "dev": true,
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.3.0.tgz",
+ "integrity": "sha512-yaVPAiNAalnCZedKLdR21GOGILMLKPyqSLWaAjQFvYA2i/ciDi8ArYVr69Anohb6cH2Ukhqti4aFnYyPm8wdwQ==",
"license": "MIT",
"dependencies": {
"ajv": "^6.12.4",
"debug": "^4.3.2",
- "espree": "^9.6.0",
- "globals": "^13.19.0",
+ "espree": "^10.0.1",
+ "globals": "^14.0.0",
"ignore": "^5.2.0",
"import-fresh": "^3.2.1",
"js-yaml": "^4.1.0",
@@ -1021,7 +1077,7 @@
"strip-json-comments": "^3.1.1"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"url": "https://opencollective.com/eslint"
@@ -1031,7 +1087,6 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -1039,16 +1094,12 @@
}
},
"node_modules/@eslint/eslintrc/node_modules/globals": {
- "version": "13.24.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
- "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
+ "version": "14.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz",
+ "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==",
"license": "MIT",
- "dependencies": {
- "type-fest": "^0.20.2"
- },
"engines": {
- "node": ">=8"
+ "node": ">=18"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -1058,7 +1109,6 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -1067,27 +1117,35 @@
"node": "*"
}
},
- "node_modules/@eslint/eslintrc/node_modules/type-fest": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
- "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true,
- "license": "(MIT OR CC0-1.0)",
+ "node_modules/@eslint/js": {
+ "version": "9.21.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.21.0.tgz",
+ "integrity": "sha512-BqStZ3HX8Yz6LvsF5ByXYrtigrV5AXADWLAGc7PH/1SxOb7/FIYYMszZZWiUou/GB9P2lXWk2SV4d+Z8h0nknw==",
+ "license": "MIT",
"engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
- "node_modules/@eslint/js": {
- "version": "8.57.1",
- "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz",
- "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==",
- "dev": true,
- "license": "MIT",
+ "node_modules/@eslint/object-schema": {
+ "version": "2.1.6",
+ "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.6.tgz",
+ "integrity": "sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA==",
+ "license": "Apache-2.0",
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ }
+ },
+ "node_modules/@eslint/plugin-kit": {
+ "version": "0.2.7",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.7.tgz",
+ "integrity": "sha512-JubJ5B2pJ4k4yGxaNLdbjrnk9d/iDz6/q8wOilpIowd6PJPgaxCuHBnBszq7Ce2TyMrywm5r4PnKm6V3iiZF+g==",
+ "license": "Apache-2.0",
+ "dependencies": {
+ "@eslint/core": "^0.12.0",
+ "levn": "^0.4.1"
+ },
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
}
},
"node_modules/@floating-ui/core": {
@@ -1171,51 +1229,45 @@
"react": ">= 16 || ^19.0.0-rc"
}
},
- "node_modules/@humanwhocodes/config-array": {
- "version": "0.13.0",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz",
- "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==",
- "deprecated": "Use @eslint/config-array instead",
- "dev": true,
+ "node_modules/@humanfs/core": {
+ "version": "0.19.1",
+ "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz",
+ "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==",
"license": "Apache-2.0",
- "dependencies": {
- "@humanwhocodes/object-schema": "^2.0.3",
- "debug": "^4.3.1",
- "minimatch": "^3.0.5"
- },
"engines": {
- "node": ">=10.10.0"
+ "node": ">=18.18.0"
}
},
- "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
- "license": "MIT",
+ "node_modules/@humanfs/node": {
+ "version": "0.16.6",
+ "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz",
+ "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==",
+ "license": "Apache-2.0",
"dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
+ "@humanfs/core": "^0.19.1",
+ "@humanwhocodes/retry": "^0.3.0"
+ },
+ "engines": {
+ "node": ">=18.18.0"
}
},
- "node_modules/@humanwhocodes/config-array/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
+ "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": {
+ "version": "0.3.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz",
+ "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==",
+ "license": "Apache-2.0",
"engines": {
- "node": "*"
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
}
},
"node_modules/@humanwhocodes/module-importer": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
"integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
- "dev": true,
"license": "Apache-2.0",
"engines": {
"node": ">=12.22"
@@ -1225,13 +1277,18 @@
"url": "https://github.com/sponsors/nzakas"
}
},
- "node_modules/@humanwhocodes/object-schema": {
- "version": "2.0.3",
- "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz",
- "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==",
- "deprecated": "Use @eslint/object-schema instead",
- "dev": true,
- "license": "BSD-3-Clause"
+ "node_modules/@humanwhocodes/retry": {
+ "version": "0.4.2",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.2.tgz",
+ "integrity": "sha512-xeO57FpIu4p1Ri3Jq/EXq4ClRm86dVF2z/+kvFnyqVYRavTZmaFaUBbWCOuuTh0o/g7DSsk6kc2vrS4Vl5oPOQ==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": ">=18.18"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
},
"node_modules/@icons-pack/react-simple-icons": {
"version": "12.0.0",
@@ -1479,7 +1536,6 @@
"version": "1.0.39",
"resolved": "https://registry.npmjs.org/@nolyfill/is-core-module/-/is-core-module-1.0.39.tgz",
"integrity": "sha512-nn5ozdjYQpUCZlWGuxcJY/KpxkWQs4DcbMCmKojjyrYDEAGy4Ce19NN4v5MduafTwJlbKc99UA8YhSVqq9yPZA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12.4.0"
@@ -2293,9 +2349,9 @@
}
},
"node_modules/@remix-run/router": {
- "version": "1.22.0",
- "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.22.0.tgz",
- "integrity": "sha512-MBOl8MeOzpK0HQQQshKB7pABXbmyHizdTpqnrIseTbsv0nAepwC2ENZa1aaBExNQcpLoXmWthhak8SABLzvGPw==",
+ "version": "1.23.0",
+ "resolved": "https://registry.npmjs.org/@remix-run/router/-/router-1.23.0.tgz",
+ "integrity": "sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA==",
"license": "MIT",
"peer": true,
"engines": {
@@ -2303,13 +2359,13 @@
}
},
"node_modules/@remix-run/server-runtime": {
- "version": "2.15.3",
- "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.15.3.tgz",
- "integrity": "sha512-taHBe1DEqxZNjjj6OfkSYbup+sZPjbTgUhykaI+nHqrC2NDQuTiisBXhLwtx60GctONR/x0lWhF7R9ZGC5WsHw==",
+ "version": "2.16.0",
+ "resolved": "https://registry.npmjs.org/@remix-run/server-runtime/-/server-runtime-2.16.0.tgz",
+ "integrity": "sha512-gbuc4slxPi+pT47MrUYprX/wCuDlYL6H3LHZSvimWO1kDCBt8oefHzdHDPjLi4B1xzqXZomswTbuJzpZ7xRRTg==",
"license": "MIT",
"peer": true,
"dependencies": {
- "@remix-run/router": "1.22.0",
+ "@remix-run/router": "1.23.0",
"@types/cookie": "^0.6.0",
"@web3-storage/multipart-parser": "^1.0.0",
"cookie": "^0.6.0",
@@ -2580,7 +2636,7 @@
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@rtsao/scc/-/scc-1.1.0.tgz",
"integrity": "sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==",
- "dev": true,
+ "devOptional": true,
"license": "MIT"
},
"node_modules/@snyk/github-codeowners": {
@@ -3233,17 +3289,6 @@
"@types/d3-selection": "*"
}
},
- "node_modules/@types/eslint": {
- "version": "9.6.1",
- "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-9.6.1.tgz",
- "integrity": "sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "@types/estree": "*",
- "@types/json-schema": "*"
- }
- },
"node_modules/@types/estree": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz",
@@ -3274,14 +3319,13 @@
"version": "7.0.15",
"resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
"integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
- "dev": true,
"license": "MIT"
},
"node_modules/@types/json5": {
"version": "0.0.29",
"resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
"integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT"
},
"node_modules/@types/lodash": {
@@ -3371,17 +3415,17 @@
"license": "MIT"
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.25.0.tgz",
- "integrity": "sha512-VM7bpzAe7JO/BFf40pIT1lJqS/z1F8OaSsUB3rpFJucQA4cOSuH2RVVVkFULN+En0Djgr29/jb4EQnedUo95KA==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.26.0.tgz",
+ "integrity": "sha512-cLr1J6pe56zjKYajK6SSSre6nl1Gj6xDp1TY0trpgPzjVbgDwd09v2Ws37LABxzkicmUjhEeg/fAUjPJJB1v5Q==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.25.0",
- "@typescript-eslint/type-utils": "8.25.0",
- "@typescript-eslint/utils": "8.25.0",
- "@typescript-eslint/visitor-keys": "8.25.0",
+ "@typescript-eslint/scope-manager": "8.26.0",
+ "@typescript-eslint/type-utils": "8.26.0",
+ "@typescript-eslint/utils": "8.26.0",
+ "@typescript-eslint/visitor-keys": "8.26.0",
"graphemer": "^1.4.0",
"ignore": "^5.3.1",
"natural-compare": "^1.4.0",
@@ -3397,20 +3441,20 @@
"peerDependencies": {
"@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0",
"eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.8.0"
+ "typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.25.0.tgz",
- "integrity": "sha512-4gbs64bnbSzu4FpgMiQ1A+D+urxkoJk/kqlDJ2W//5SygaEiAP2B4GoS7TEdxgwol2el03gckFV9lJ4QOMiiHg==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.26.0.tgz",
+ "integrity": "sha512-mNtXP9LTVBy14ZF3o7JG69gRPBK/2QWtQd0j0oH26HcY/foyJJau6pNUez7QrM5UHnSvwlQcJXKsk0I99B9pOA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/scope-manager": "8.25.0",
- "@typescript-eslint/types": "8.25.0",
- "@typescript-eslint/typescript-estree": "8.25.0",
- "@typescript-eslint/visitor-keys": "8.25.0",
+ "@typescript-eslint/scope-manager": "8.26.0",
+ "@typescript-eslint/types": "8.26.0",
+ "@typescript-eslint/typescript-estree": "8.26.0",
+ "@typescript-eslint/visitor-keys": "8.26.0",
"debug": "^4.3.4"
},
"engines": {
@@ -3422,18 +3466,18 @@
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.8.0"
+ "typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.25.0.tgz",
- "integrity": "sha512-6PPeiKIGbgStEyt4NNXa2ru5pMzQ8OYKO1hX1z53HMomrmiSB+R5FmChgQAP1ro8jMtNawz+TRQo/cSXrauTpg==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.26.0.tgz",
+ "integrity": "sha512-E0ntLvsfPqnPwng8b8y4OGuzh/iIOm2z8U3S9zic2TeMLW61u5IH2Q1wu0oSTkfrSzwbDJIB/Lm8O3//8BWMPA==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.25.0",
- "@typescript-eslint/visitor-keys": "8.25.0"
+ "@typescript-eslint/types": "8.26.0",
+ "@typescript-eslint/visitor-keys": "8.26.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -3444,14 +3488,14 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.25.0.tgz",
- "integrity": "sha512-d77dHgHWnxmXOPJuDWO4FDWADmGQkN5+tt6SFRZz/RtCWl4pHgFl3+WdYCn16+3teG09DY6XtEpf3gGD0a186g==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.26.0.tgz",
+ "integrity": "sha512-ruk0RNChLKz3zKGn2LwXuVoeBcUMh+jaqzN461uMMdxy5H9epZqIBtYj7UiPXRuOpaALXGbmRuZQhmwHhaS04Q==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/typescript-estree": "8.25.0",
- "@typescript-eslint/utils": "8.25.0",
+ "@typescript-eslint/typescript-estree": "8.26.0",
+ "@typescript-eslint/utils": "8.26.0",
"debug": "^4.3.4",
"ts-api-utils": "^2.0.1"
},
@@ -3464,13 +3508,13 @@
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.8.0"
+ "typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.25.0.tgz",
- "integrity": "sha512-+vUe0Zb4tkNgznQwicsvLUJgZIRs6ITeWSCclX1q85pR1iOiaj+4uZJIUp//Z27QWu5Cseiw3O3AR8hVpax7Aw==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.26.0.tgz",
+ "integrity": "sha512-89B1eP3tnpr9A8L6PZlSjBvnJhWXtYfZhECqlBl1D9Lme9mHO6iWlsprBtVenQvY1HMhax1mWOjhtL3fh/u+pA==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3482,14 +3526,14 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.25.0.tgz",
- "integrity": "sha512-ZPaiAKEZ6Blt/TPAx5Ot0EIB/yGtLI2EsGoY6F7XKklfMxYQyvtL+gT/UCqkMzO0BVFHLDlzvFqQzurYahxv9Q==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.26.0.tgz",
+ "integrity": "sha512-tiJ1Hvy/V/oMVRTbEOIeemA2XoylimlDQ03CgPPNaHYZbpsc78Hmngnt+WXZfJX1pjQ711V7g0H7cSJThGYfPQ==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.25.0",
- "@typescript-eslint/visitor-keys": "8.25.0",
+ "@typescript-eslint/types": "8.26.0",
+ "@typescript-eslint/visitor-keys": "8.26.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
@@ -3505,20 +3549,20 @@
"url": "https://opencollective.com/typescript-eslint"
},
"peerDependencies": {
- "typescript": ">=4.8.4 <5.8.0"
+ "typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.25.0.tgz",
- "integrity": "sha512-syqRbrEv0J1wywiLsK60XzHnQe/kRViI3zwFALrNEgnntn1l24Ra2KvOAWwWbWZ1lBZxZljPDGOq967dsl6fkA==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.26.0.tgz",
+ "integrity": "sha512-2L2tU3FVwhvU14LndnQCA2frYC8JnPDVKyQtWFPf8IYFMt/ykEN1bPolNhNbCVgOmdzTlWdusCTKA/9nKrf8Ig==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
- "@typescript-eslint/scope-manager": "8.25.0",
- "@typescript-eslint/types": "8.25.0",
- "@typescript-eslint/typescript-estree": "8.25.0"
+ "@typescript-eslint/scope-manager": "8.26.0",
+ "@typescript-eslint/types": "8.26.0",
+ "@typescript-eslint/typescript-estree": "8.26.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -3529,17 +3573,17 @@
},
"peerDependencies": {
"eslint": "^8.57.0 || ^9.0.0",
- "typescript": ">=4.8.4 <5.8.0"
+ "typescript": ">=4.8.4 <5.9.0"
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.25.0",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.25.0.tgz",
- "integrity": "sha512-kCYXKAum9CecGVHGij7muybDfTS2sD3t0L4bJsEZLkyrXUImiCTq1M3LG2SRtOhiHFwMR9wAFplpT6XHYjTkwQ==",
+ "version": "8.26.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.26.0.tgz",
+ "integrity": "sha512-2z8JQJWAzPdDd51dRQ/oqIJxe99/hoLIqmf8RMCAJQtYDc535W/Jt2+RTP4bP0aKeBG1F65yjIZuczOXCmbWwg==",
"dev": true,
"license": "MIT",
"dependencies": {
- "@typescript-eslint/types": "8.25.0",
+ "@typescript-eslint/types": "8.26.0",
"eslint-visitor-keys": "^4.2.0"
},
"engines": {
@@ -3563,13 +3607,6 @@
"url": "https://opencollective.com/eslint"
}
},
- "node_modules/@ungap/structured-clone": {
- "version": "1.3.0",
- "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.0.tgz",
- "integrity": "sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==",
- "dev": true,
- "license": "ISC"
- },
"node_modules/@web3-storage/multipart-parser": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/@web3-storage/multipart-parser/-/multipart-parser-1.0.0.tgz",
@@ -3600,10 +3637,9 @@
}
},
"node_modules/acorn": {
- "version": "8.14.0",
- "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz",
- "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==",
- "dev": true,
+ "version": "8.14.1",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.1.tgz",
+ "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==",
"license": "MIT",
"bin": {
"acorn": "bin/acorn"
@@ -3616,7 +3652,6 @@
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
"integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
- "dev": true,
"license": "MIT",
"peerDependencies": {
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
@@ -3640,7 +3675,6 @@
"version": "6.12.6",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"fast-deep-equal": "^3.1.1",
@@ -3687,7 +3721,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true,
"license": "Python-2.0"
},
"node_modules/aria-query": {
@@ -3726,7 +3759,7 @@
"version": "3.1.8",
"resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.8.tgz",
"integrity": "sha512-itaWrbYbqpGXkGhZPGUulwnhVf5Hpy1xiCFsGqyIGglbBxmG5vSjxQen3/WGOjPpNEv1RtBLKxbmVXm8HpJStQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
@@ -3787,7 +3820,7 @@
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.5.tgz",
"integrity": "sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
@@ -3808,7 +3841,7 @@
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz",
"integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"call-bind": "^1.0.8",
@@ -3827,7 +3860,7 @@
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz",
"integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"call-bind": "^1.0.8",
@@ -4217,7 +4250,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
"integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -4247,7 +4279,6 @@
"version": "4.1.2",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
"integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ansi-styles": "^4.1.0",
@@ -4393,7 +4424,6 @@
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
- "dev": true,
"license": "MIT"
},
"node_modules/consolidated-events": {
@@ -5119,7 +5149,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
"integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/defaults": {
@@ -5245,19 +5274,6 @@
"integrity": "sha512-wlwEkqcsaxvPJML+rDh/2iS824jbREk6DUMUKkEaSlxdYHeS43cClJtsWglvw2RfeXGm6ohKDqsXteJ5sP5enA==",
"license": "MIT"
},
- "node_modules/doctrine": {
- "version": "3.0.0",
- "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
- "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
- "dev": true,
- "license": "Apache-2.0",
- "dependencies": {
- "esutils": "^2.0.2"
- },
- "engines": {
- "node": ">=6.0.0"
- }
- },
"node_modules/document.contains": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/document.contains/-/document.contains-1.0.2.tgz",
@@ -5596,7 +5612,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
"integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=10"
@@ -5606,66 +5621,68 @@
}
},
"node_modules/eslint": {
- "version": "8.57.1",
- "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz",
- "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==",
- "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.",
- "dev": true,
+ "version": "9.21.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.21.0.tgz",
+ "integrity": "sha512-KjeihdFqTPhOMXTt7StsDxriV4n66ueuF/jfPNC3j/lduHwr/ijDwJMsF+wyMJethgiKi5wniIE243vi07d3pg==",
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
- "@eslint-community/regexpp": "^4.6.1",
- "@eslint/eslintrc": "^2.1.4",
- "@eslint/js": "8.57.1",
- "@humanwhocodes/config-array": "^0.13.0",
+ "@eslint-community/regexpp": "^4.12.1",
+ "@eslint/config-array": "^0.19.2",
+ "@eslint/core": "^0.12.0",
+ "@eslint/eslintrc": "^3.3.0",
+ "@eslint/js": "9.21.0",
+ "@eslint/plugin-kit": "^0.2.7",
+ "@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
- "@nodelib/fs.walk": "^1.2.8",
- "@ungap/structured-clone": "^1.2.0",
+ "@humanwhocodes/retry": "^0.4.2",
+ "@types/estree": "^1.0.6",
+ "@types/json-schema": "^7.0.15",
"ajv": "^6.12.4",
"chalk": "^4.0.0",
- "cross-spawn": "^7.0.2",
+ "cross-spawn": "^7.0.6",
"debug": "^4.3.2",
- "doctrine": "^3.0.0",
"escape-string-regexp": "^4.0.0",
- "eslint-scope": "^7.2.2",
- "eslint-visitor-keys": "^3.4.3",
- "espree": "^9.6.1",
- "esquery": "^1.4.2",
+ "eslint-scope": "^8.2.0",
+ "eslint-visitor-keys": "^4.2.0",
+ "espree": "^10.3.0",
+ "esquery": "^1.5.0",
"esutils": "^2.0.2",
"fast-deep-equal": "^3.1.3",
- "file-entry-cache": "^6.0.1",
+ "file-entry-cache": "^8.0.0",
"find-up": "^5.0.0",
"glob-parent": "^6.0.2",
- "globals": "^13.19.0",
- "graphemer": "^1.4.0",
"ignore": "^5.2.0",
"imurmurhash": "^0.1.4",
"is-glob": "^4.0.0",
- "is-path-inside": "^3.0.3",
- "js-yaml": "^4.1.0",
"json-stable-stringify-without-jsonify": "^1.0.1",
- "levn": "^0.4.1",
"lodash.merge": "^4.6.2",
"minimatch": "^3.1.2",
"natural-compare": "^1.4.0",
- "optionator": "^0.9.3",
- "strip-ansi": "^6.0.1",
- "text-table": "^0.2.0"
+ "optionator": "^0.9.3"
},
"bin": {
"eslint": "bin/eslint.js"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
- "url": "https://opencollective.com/eslint"
+ "url": "https://eslint.org/donate"
+ },
+ "peerDependencies": {
+ "jiti": "*"
+ },
+ "peerDependenciesMeta": {
+ "jiti": {
+ "optional": true
+ }
}
},
"node_modules/eslint-config-prettier": {
- "version": "10.0.1",
- "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.0.1.tgz",
- "integrity": "sha512-lZBts941cyJyeaooiKxAtzoPHTN+GbQTJFAIdQbRhA4/8whaAraEh47Whw/ZFfrjNSnlAxqfm9i0XVAEkULjCw==",
+ "version": "10.0.2",
+ "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.0.2.tgz",
+ "integrity": "sha512-1105/17ZIMjmCOJOPNfVdbXafLCLj3hPmkmB7dLgt7XsQ/zkxSuDerE/xgO3RxoHysR1N1whmquY0lSn2O0VLg==",
"dev": true,
"license": "MIT",
"bin": {
@@ -5679,7 +5696,7 @@
"version": "0.3.9",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
"integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7",
@@ -5691,7 +5708,7 @@
"version": "3.2.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
"integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"ms": "^2.1.1"
@@ -5701,7 +5718,6 @@
"version": "3.8.3",
"resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.8.3.tgz",
"integrity": "sha512-A0bu4Ks2QqDWNpeEgTQMPTngaMhuDu4yv6xpftBMAf+1ziXnpx+eSR1WRfoPTe2BAiAjHFZ7kSNx1fvr5g5pmQ==",
- "dev": true,
"license": "ISC",
"dependencies": {
"@nolyfill/is-core-module": "1.0.39",
@@ -5736,7 +5752,7 @@
"version": "2.12.0",
"resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.12.0.tgz",
"integrity": "sha512-wALZ0HFoytlyh/1+4wuZ9FJCD/leWHQzzrxJ8+rebyReSLk7LApMyd3WJaLVoN+D5+WIdJyDK1c6JnE65V4Zyg==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"debug": "^3.2.7"
@@ -5754,7 +5770,7 @@
"version": "3.2.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
"integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"ms": "^2.1.1"
@@ -5764,7 +5780,7 @@
"version": "2.31.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz",
"integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@rtsao/scc": "^1.1.0",
@@ -5798,7 +5814,7 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
@@ -5809,7 +5825,7 @@
"version": "3.2.7",
"resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
"integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"ms": "^2.1.1"
@@ -5819,7 +5835,7 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
"integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
- "dev": true,
+ "devOptional": true,
"license": "Apache-2.0",
"dependencies": {
"esutils": "^2.0.2"
@@ -5832,7 +5848,7 @@
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
+ "devOptional": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -5845,7 +5861,7 @@
"version": "6.3.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
"integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
- "dev": true,
+ "devOptional": true,
"license": "ISC",
"bin": {
"semver": "bin/semver.js"
@@ -5939,9 +5955,9 @@
}
},
"node_modules/eslint-plugin-react-hooks": {
- "version": "5.1.0",
- "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.1.0.tgz",
- "integrity": "sha512-mpJRtPgHN2tNAvZ35AMfqeB3Xqeo273QxrHJsbBEPWODRM4r0yB6jfoROqKEYrOn27UtRPpcpHc2UqyBSuUNTw==",
+ "version": "5.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.2.0.tgz",
+ "integrity": "sha512-+f15FfK64YQwZdJNELETdn5ibXEUQmW1DZL6KXhNnc2heoy/sg9VJJeT7n8TlMWouzWqSWavFkIhHyIbIAEapg==",
"dev": true,
"license": "MIT",
"engines": {
@@ -6033,17 +6049,16 @@
}
},
"node_modules/eslint-scope": {
- "version": "7.2.2",
- "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
- "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
- "dev": true,
+ "version": "8.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz",
+ "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==",
"license": "BSD-2-Clause",
"dependencies": {
"esrecurse": "^4.3.0",
"estraverse": "^5.2.0"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"url": "https://opencollective.com/eslint"
@@ -6053,7 +6068,6 @@
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
"integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
- "dev": true,
"license": "Apache-2.0",
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -6066,34 +6080,28 @@
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
- "node_modules/eslint/node_modules/globals": {
- "version": "13.24.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
- "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "type-fest": "^0.20.2"
- },
+ "node_modules/eslint/node_modules/eslint-visitor-keys": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
+ "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
+ "license": "Apache-2.0",
"engines": {
- "node": ">=8"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
- "url": "https://github.com/sponsors/sindresorhus"
+ "url": "https://opencollective.com/eslint"
}
},
"node_modules/eslint/node_modules/minimatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
"license": "ISC",
"dependencies": {
"brace-expansion": "^1.1.7"
@@ -6102,32 +6110,30 @@
"node": "*"
}
},
- "node_modules/eslint/node_modules/type-fest": {
- "version": "0.20.2",
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
- "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
- "dev": true,
- "license": "(MIT OR CC0-1.0)",
- "engines": {
- "node": ">=10"
- },
- "funding": {
- "url": "https://github.com/sponsors/sindresorhus"
- }
- },
"node_modules/espree": {
- "version": "9.6.1",
- "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
- "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
- "dev": true,
+ "version": "10.3.0",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz",
+ "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==",
"license": "BSD-2-Clause",
"dependencies": {
- "acorn": "^8.9.0",
+ "acorn": "^8.14.0",
"acorn-jsx": "^5.3.2",
- "eslint-visitor-keys": "^3.4.1"
+ "eslint-visitor-keys": "^4.2.0"
},
"engines": {
- "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree/node_modules/eslint-visitor-keys": {
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz",
+ "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==",
+ "license": "Apache-2.0",
+ "engines": {
+ "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
},
"funding": {
"url": "https://opencollective.com/eslint"
@@ -6137,7 +6143,6 @@
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz",
"integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==",
- "dev": true,
"license": "BSD-3-Clause",
"dependencies": {
"estraverse": "^5.1.0"
@@ -6150,7 +6155,6 @@
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
"integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
- "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"estraverse": "^5.2.0"
@@ -6163,7 +6167,6 @@
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
"integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=4.0"
@@ -6173,7 +6176,6 @@
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
"integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
- "dev": true,
"license": "BSD-2-Clause",
"engines": {
"node": ">=0.10.0"
@@ -6274,7 +6276,6 @@
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
- "dev": true,
"license": "MIT"
},
"node_modules/fast-glob": {
@@ -6311,14 +6312,12 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
- "dev": true,
"license": "MIT"
},
"node_modules/fast-levenshtein": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
"integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
- "dev": true,
"license": "MIT"
},
"node_modules/fast-xml-parser": {
@@ -6354,16 +6353,15 @@
}
},
"node_modules/file-entry-cache": {
- "version": "6.0.1",
- "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
- "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
- "dev": true,
+ "version": "8.0.0",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz",
+ "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==",
"license": "MIT",
"dependencies": {
- "flat-cache": "^3.0.4"
+ "flat-cache": "^4.0.0"
},
"engines": {
- "node": "^10.12.0 || >=12.0.0"
+ "node": ">=16.0.0"
}
},
"node_modules/file-saver": {
@@ -6435,18 +6433,16 @@
}
},
"node_modules/flat-cache": {
- "version": "3.2.0",
- "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
- "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
- "dev": true,
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz",
+ "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==",
"license": "MIT",
"dependencies": {
"flatted": "^3.2.9",
- "keyv": "^4.5.3",
- "rimraf": "^3.0.2"
+ "keyv": "^4.5.4"
},
"engines": {
- "node": "^10.12.0 || >=12.0.0"
+ "node": ">=16"
}
},
"node_modules/flatpickr": {
@@ -6456,10 +6452,9 @@
"license": "MIT"
},
"node_modules/flatted": {
- "version": "3.3.2",
- "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz",
- "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==",
- "dev": true,
+ "version": "3.3.3",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz",
+ "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==",
"license": "ISC"
},
"node_modules/follow-redirects": {
@@ -6586,13 +6581,6 @@
"node": ">=12"
}
},
- "node_modules/fs.realpath": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
- "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
- "dev": true,
- "license": "ISC"
- },
"node_modules/fsevents": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
@@ -6724,7 +6712,6 @@
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.10.0.tgz",
"integrity": "sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A==",
- "dev": true,
"license": "MIT",
"dependencies": {
"resolve-pkg-maps": "^1.0.0"
@@ -6757,7 +6744,6 @@
"version": "6.0.2",
"resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
"integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
- "dev": true,
"license": "ISC",
"dependencies": {
"is-glob": "^4.0.3"
@@ -6767,12 +6753,15 @@
}
},
"node_modules/globals": {
- "version": "11.12.0",
- "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz",
- "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "version": "16.0.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-16.0.0.tgz",
+ "integrity": "sha512-iInW14XItCXET01CQFqudPOWP2jYMl7T+QRQT+UNcR/iQncN/F0UNpgd76iFkBPgNQb4+X3LV9tLJYzwh+Gl3A==",
"license": "MIT",
"engines": {
- "node": ">=4"
+ "node": ">=18"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/globalthis": {
@@ -6856,7 +6845,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
"integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=8"
@@ -7057,7 +7045,6 @@
"version": "5.3.2",
"resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz",
"integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 4"
@@ -7083,7 +7070,6 @@
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.1.tgz",
"integrity": "sha512-TR3KfrTZTYLPB6jUjfx6MF9WcWrHL9su5TObK4ZkYgBdWKPOFoSoQIdEuTuR82pmtxH2spWG9h6etwfr1pLBqQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"parent-module": "^1.0.0",
@@ -7100,7 +7086,6 @@
"version": "0.1.4",
"resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
"integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.8.19"
@@ -7116,18 +7101,6 @@
"node": ">=8"
}
},
- "node_modules/inflight": {
- "version": "1.0.6",
- "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
- "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
- "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "once": "^1.3.0",
- "wrappy": "1"
- }
- },
"node_modules/inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
@@ -7237,7 +7210,6 @@
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.3.0.tgz",
"integrity": "sha512-DgXeu5UWI0IsMQundYb5UAOzm6G2eVnarJ0byP6Tm55iZNKceD59LNPA2L4VvsScTtHcw0yEkVwSf7PC+QoLSA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"semver": "^7.6.3"
@@ -7313,7 +7285,6 @@
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
@@ -7365,7 +7336,6 @@
"version": "4.0.3",
"resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
- "dev": true,
"license": "MIT",
"dependencies": {
"is-extglob": "^2.1.1"
@@ -7421,16 +7391,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
- "node_modules/is-path-inside": {
- "version": "3.0.3",
- "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
- "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=8"
- }
- },
"node_modules/is-regex": {
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz",
@@ -7670,7 +7630,6 @@
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"argparse": "^2.0.1"
@@ -7695,7 +7654,6 @@
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
"integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/json-parse-even-better-errors": {
@@ -7711,14 +7669,12 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
- "dev": true,
"license": "MIT"
},
"node_modules/json-stable-stringify-without-jsonify": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
"integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
- "dev": true,
"license": "MIT"
},
"node_modules/json5": {
@@ -7783,7 +7739,6 @@
"version": "4.5.4",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
"integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"json-buffer": "3.0.1"
@@ -7927,7 +7882,6 @@
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
"integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"prelude-ls": "^1.2.1",
@@ -8213,7 +8167,6 @@
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
"integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
- "dev": true,
"license": "MIT"
},
"node_modules/loose-envify": {
@@ -8389,7 +8342,7 @@
"version": "1.2.8",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
"integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"funding": {
"url": "https://github.com/sponsors/ljharb"
@@ -8490,7 +8443,6 @@
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
"integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
- "dev": true,
"license": "MIT"
},
"node_modules/negotiator": {
@@ -8678,7 +8630,7 @@
"version": "2.0.8",
"resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.8.tgz",
"integrity": "sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
@@ -8697,7 +8649,7 @@
"version": "1.0.3",
"resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.3.tgz",
"integrity": "sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"call-bind": "^1.0.7",
@@ -8760,7 +8712,6 @@
"version": "0.9.4",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz",
"integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"deep-is": "^0.1.3",
@@ -8853,7 +8804,6 @@
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
"integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
- "dev": true,
"license": "MIT",
"dependencies": {
"callsites": "^3.0.0"
@@ -8893,16 +8843,6 @@
"node": ">=8"
}
},
- "node_modules/path-is-absolute": {
- "version": "1.0.1",
- "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
- "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
- "dev": true,
- "license": "MIT",
- "engines": {
- "node": ">=0.10.0"
- }
- },
"node_modules/path-key": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
@@ -8916,7 +8856,7 @@
"version": "1.0.7",
"resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
"integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
- "dev": true,
+ "devOptional": true,
"license": "MIT"
},
"node_modules/path-scurry": {
@@ -9037,16 +8977,15 @@
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
"integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 0.8.0"
}
},
"node_modules/prettier": {
- "version": "3.5.2",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.2.tgz",
- "integrity": "sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg==",
+ "version": "3.5.3",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
+ "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
"license": "MIT",
"bin": {
"prettier": "bin/prettier.cjs"
@@ -9267,7 +9206,6 @@
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
"integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=6"
@@ -9748,7 +9686,7 @@
"version": "1.22.10",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz",
"integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"is-core-module": "^2.16.0",
@@ -9769,7 +9707,6 @@
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
"integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -9779,7 +9716,6 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
"integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
- "dev": true,
"license": "MIT",
"funding": {
"url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
@@ -9805,69 +9741,6 @@
"node": ">=0.10.0"
}
},
- "node_modules/rimraf": {
- "version": "3.0.2",
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
- "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
- "deprecated": "Rimraf versions prior to v4 are no longer supported",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "glob": "^7.1.3"
- },
- "bin": {
- "rimraf": "bin.js"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/rimraf/node_modules/brace-expansion": {
- "version": "1.1.11",
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
- "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
- "dev": true,
- "license": "MIT",
- "dependencies": {
- "balanced-match": "^1.0.0",
- "concat-map": "0.0.1"
- }
- },
- "node_modules/rimraf/node_modules/glob": {
- "version": "7.2.3",
- "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
- "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
- "deprecated": "Glob versions prior to v9 are no longer supported",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "fs.realpath": "^1.0.0",
- "inflight": "^1.0.4",
- "inherits": "2",
- "minimatch": "^3.1.1",
- "once": "^1.3.0",
- "path-is-absolute": "^1.0.0"
- },
- "engines": {
- "node": "*"
- },
- "funding": {
- "url": "https://github.com/sponsors/isaacs"
- }
- },
- "node_modules/rimraf/node_modules/minimatch": {
- "version": "3.1.2",
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
- "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
- "dev": true,
- "license": "ISC",
- "dependencies": {
- "brace-expansion": "^1.1.7"
- },
- "engines": {
- "node": "*"
- }
- },
"node_modules/robust-predicates": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",
@@ -10388,7 +10261,6 @@
"version": "0.0.4",
"resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.4.tgz",
"integrity": "sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==",
- "dev": true,
"license": "MIT"
},
"node_modules/statuses": {
@@ -10631,7 +10503,7 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
"integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"engines": {
"node": ">=4"
@@ -10666,7 +10538,6 @@
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
"integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
- "dev": true,
"license": "MIT",
"dependencies": {
"has-flag": "^4.0.0"
@@ -10679,7 +10550,7 @@
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
"integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"engines": {
"node": ">= 0.4"
@@ -10718,13 +10589,6 @@
"node": ">=6"
}
},
- "node_modules/text-table": {
- "version": "0.2.0",
- "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
- "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
- "dev": true,
- "license": "MIT"
- },
"node_modules/through2": {
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz",
@@ -10745,7 +10609,6 @@
"version": "0.2.12",
"resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.12.tgz",
"integrity": "sha512-qkf4trmKSIiMTs/E63cxH+ojC2unam7rJ0WrauAzpT3ECNTxGRMlaXxVbfxMUC/w0LaYk6jQ4y/nGR9uBO3tww==",
- "dev": true,
"license": "MIT",
"dependencies": {
"fdir": "^6.4.3",
@@ -10762,7 +10625,6 @@
"version": "6.4.3",
"resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.3.tgz",
"integrity": "sha512-PMXmW2y1hDDfTSRc9gaXIuCCRpuoz3Kaz8cUelp3smouvfT632ozg2vrT6lJsHKKOF59YLbOGfAWGUcKEfRMQw==",
- "dev": true,
"license": "MIT",
"peerDependencies": {
"picomatch": "^3 || ^4"
@@ -10777,7 +10639,6 @@
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz",
"integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=12"
@@ -10852,7 +10713,7 @@
"version": "3.15.0",
"resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",
"integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"@types/json5": "^0.0.29",
@@ -10865,7 +10726,7 @@
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
"integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
- "dev": true,
+ "devOptional": true,
"license": "MIT",
"dependencies": {
"minimist": "^1.2.0"
@@ -10890,7 +10751,6 @@
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
"integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
- "dev": true,
"license": "MIT",
"dependencies": {
"prelude-ls": "^1.2.1"
@@ -10999,9 +10859,9 @@
}
},
"node_modules/typescript": {
- "version": "5.7.3",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
- "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
+ "version": "5.8.2",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
+ "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==",
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
@@ -11155,7 +11015,6 @@
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
"integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
- "dev": true,
"license": "BSD-2-Clause",
"dependencies": {
"punycode": "^2.1.0"
@@ -11883,7 +11742,6 @@
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz",
"integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">=0.10.0"
diff --git a/web/package.json b/web/package.json
index b3837c695..1522212ca 100644
--- a/web/package.json
+++ b/web/package.json
@@ -19,11 +19,6 @@
"format:fix": "prettier --write --ignore-unknown ./app ./public",
"knip": "knip"
},
- "eslintIgnore": [
- "/node_modules",
- "/build",
- "/public/build"
- ],
"dependencies": {
"@headlessui/react": "^2.2.0",
"@heroicons/react": "^2.2.0",
@@ -44,9 +39,11 @@
"d3": "^7.9.0",
"dangerously-set-html-content": "^1.1.0",
"dayjs": "^1.11.13",
+ "eslint-import-resolver-typescript": "^3.8.3",
"file-saver": "^2.0.5",
"flatpickr": "^4.6.13",
"framer-motion": "^12.4.7",
+ "globals": "^16.0.0",
"i18n-iso-countries": "^7.14.0",
"i18next": "^24.2.2",
"i18next-browser-languagedetector": "^8.0.4",
@@ -90,11 +87,11 @@
]
},
"devDependencies": {
+ "@eslint/js": "^9.21.0",
"@react-router/dev": "^7.1.5",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/typography": "^0.5.16",
"@types/d3": "^7.4.3",
- "@types/eslint": "^9.6.1",
"@types/file-saver": "^2.0.7",
"@types/lodash": "^4.17.15",
"@types/node": "^22.13.5",
@@ -102,34 +99,33 @@
"@types/react-dom": "^18.3.1",
"@types/react-flatpickr": "^3.8.11",
"@types/react-outside-click-handler": "^1.3.4",
- "@typescript-eslint/eslint-plugin": "^8.25.0",
- "@typescript-eslint/parser": "^8.25.0",
- "@typescript-eslint/typescript-estree": "^8.25.0",
+ "@typescript-eslint/eslint-plugin": "^8.26.0",
+ "@typescript-eslint/parser": "^8.26.0",
+ "@typescript-eslint/typescript-estree": "^8.26.0",
"cross-env": "^7.0.3",
- "eslint": "^8.57.0",
- "eslint-config-prettier": "^10.0.1",
+ "eslint": "^9.21.0",
+ "eslint-config-prettier": "^10.0.2",
"eslint-import-resolver-node": "^0.3.9",
- "eslint-import-resolver-typescript": "^3.8.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-react": "^7.37.4",
- "eslint-plugin-react-hooks": "^5.1.0",
+ "eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-unused-imports": "^4.1.4",
"knip": "^5.45.0",
- "prettier": "^3.5.2",
+ "prettier": "^3.5.3",
"tailwindcss": "^4.0.9",
- "typescript": "^5.7.3",
+ "typescript": "^5.8.2",
"vite": "^6.2.0",
"vite-tsconfig-paths": "^5.1.4"
},
"engines": {
- "node": ">=20"
+ "node": ">=22"
},
"devEngines": {
"runtime": {
"name": "node",
"onFail": "error",
- "version": ">=20"
+ "version": ">=22"
}
}
}
diff --git a/web/public/locales/en.json b/web/public/locales/en.json
index decc9355f..663b912ff 100644
--- a/web/public/locales/en.json
+++ b/web/public/locales/en.json
@@ -1174,6 +1174,7 @@
"title": "Simple, traffic-based pricing",
"adv": "Try Swetrix on your website for {{amount}} days - completely free of charge.\nNo credit card required. No strings attached.",
"currentPlan": "Current plan",
+ "subscribe": "Subscribe",
"free": "Free",
"legacy": "Legacy",
"perMonth": "mo",