📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
remove obsolete react-outside-click-handler dependency
Blue Mouse04485966f4c0
diff --git a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsxindex 0fc46e5af..34961ef64 100644--- a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx+++ b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx@@ -2,13 +2,13 @@ import { ChevronDownIcon, ChevronUpIcon, XMarkIcon } from '@heroicons/react/24/oimport _map from 'lodash/map'import React, { useState } from 'react'import { useTranslation } from 'react-i18next'-import OutsideClickHandler from 'react-outside-click-handler'import { Link } from 'react-router'import { getLiveVisitorsInfo, GetLiveVisitorsInfo } from '~/api'import { PROJECT_TABS } from '~/lib/constants'import Flag from '~/ui/Flag'import PulsatingCircle from '~/ui/icons/PulsatingCircle'+import OutsideClickHandler from '~/ui/OutsideClickHandler'import { useCurrentProject, useProjectPassword } from '../../../../providers/CurrentProjectProvider'diff --git a/web/app/pages/Project/View/components/MetricCards.tsx b/web/app/pages/Project/View/components/MetricCards.tsxindex 68926a24d..945bbe234 100644--- a/web/app/pages/Project/View/components/MetricCards.tsx+++ b/web/app/pages/Project/View/components/MetricCards.tsx@@ -6,10 +6,10 @@ import _map from 'lodash/map'import _round from 'lodash/round'import React, { memo, useState } from 'react'import { useTranslation } from 'react-i18next'-import OutsideClickHandler from 'react-outside-click-handler'import { OverallObject, OverallPerformanceObject } from '~/lib/models/Project'import { Badge } from '~/ui/Badge'+import OutsideClickHandler from '~/ui/OutsideClickHandler'import { nFormatter, getStringFromTime, getTimeFromSeconds } from '~/utils/generic'interface MetricCardProps {diff --git a/web/app/ui/OutsideClickHandler.tsx b/web/app/ui/OutsideClickHandler.tsxnew file mode 100644index 000000000..dd21ba609--- /dev/null+++ b/web/app/ui/OutsideClickHandler.tsx@@ -0,0 +1,25 @@+import React, { useRef } from 'react'++import useOnClickOutside from '~/hooks/useOnClickOutside'++interface OutsideClickHandlerProps extends React.HTMLAttributes<HTMLDivElement> {+ onOutsideClick: (event: MouseEvent | TouchEvent) => void+}++const OutsideClickHandler: React.FC<React.PropsWithChildren<OutsideClickHandlerProps>> = ({+ onOutsideClick,+ children,+ ...rest+}) => {+ const containerRef = useRef<HTMLDivElement>(null)++ useOnClickOutside(containerRef, onOutsideClick)++ return (+ <div ref={containerRef} {...rest}>+ {children}+ </div>+ )+}++export default OutsideClickHandlerdiff --git a/web/package-lock.json b/web/package-lock.jsonindex f54f513dd..3d4b62713 100644--- a/web/package-lock.json+++ b/web/package-lock.json@@ -51,7 +51,6 @@"react-hotkeys-hook": "^4.6.1","react-i18next": "^15.7.3","react-leaflet": "^4.2.1",- "react-outside-click-handler": "^1.3.0","react-qr-code": "^2.0.18","react-router": "^7.9.1","remix-i18next": "^7.3.0",@@ -76,7 +75,6 @@"@types/react": "^18.3.12","@types/react-dom": "^18.3.1","@types/react-flatpickr": "^3.8.11",- "@types/react-outside-click-handler": "^1.3.4","@types/sanitize-html": "^2.16.0","@typescript-eslint/eslint-plugin": "^8.43.0","@typescript-eslint/parser": "^8.43.0",@@ -3753,15 +3751,6 @@"flatpickr": "^4.0.6"}},- "node_modules/@types/react-outside-click-handler": {- "version": "1.3.4",- "resolved": "https://registry.npmjs.org/@types/react-outside-click-handler/-/react-outside-click-handler-1.3.4.tgz",- "integrity": "sha512-kLuYIa9nWk1n0ywJPbVWqOEIRg0mh3vumriCHbz6LUObJw4rXYx9inDm8G579BtnH8vC0wKfrTq5c2y/K/Xzww==",- "dev": true,- "dependencies": {- "@types/react": "*"- }- },"node_modules/@types/sanitize-html": {"version": "2.16.0","resolved": "https://registry.npmjs.org/@types/sanitize-html/-/sanitize-html-2.16.0.tgz",@@ -4408,6 +4397,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.2.tgz","integrity": "sha512-LHE+8BuR7RYGDKvnrmcuSq3tDcKv9OFEXQt/HpbZhY7V6h0zlUXutnAD82GiFx9rdieCMjkvtcsPqBwgUl1Iiw==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","is-array-buffer": "^3.0.5"@@ -4448,24 +4438,6 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/array.prototype.find": {- "version": "2.2.3",- "resolved": "https://registry.npmjs.org/array.prototype.find/-/array.prototype.find-2.2.3.tgz",- "integrity": "sha512-fO/ORdOELvjbbeIfZfzrXFMhYHGofRGqd+am9zm3tZ4GlJINj/pA2eITyfd65Vg6+ZbHd/Cys7stpoRSWtQFdA==",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1",- "es-abstract": "^1.23.2",- "es-object-atoms": "^1.0.0",- "es-shim-unscopables": "^1.0.2"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },"node_modules/array.prototype.findlast": {"version": "1.2.5","resolved": "https://registry.npmjs.org/array.prototype.findlast/-/array.prototype.findlast-1.2.5.tgz",@@ -4563,6 +4535,7 @@"version": "1.0.4","resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz","integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==",+ "devOptional": true,"dependencies": {"array-buffer-byte-length": "^1.0.1","call-bind": "^1.0.8",@@ -4589,6 +4562,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/async-function/-/async-function-1.0.0.tgz","integrity": "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA==",+ "devOptional": true,"engines": {"node": ">= 0.4"}@@ -4602,6 +4576,7 @@"version": "1.0.7","resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.7.tgz","integrity": "sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==",+ "devOptional": true,"dependencies": {"possible-typed-array-names": "^1.0.0"},@@ -4848,6 +4823,7 @@"version": "1.0.8","resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz","integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==",+ "devOptional": true,"dependencies": {"call-bind-apply-helpers": "^1.0.0","es-define-property": "^1.0.0",@@ -5047,11 +5023,6 @@"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz","integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg=="},- "node_modules/consolidated-events": {- "version": "2.0.2",- "resolved": "https://registry.npmjs.org/consolidated-events/-/consolidated-events-2.0.2.tgz",- "integrity": "sha512-2/uRVMdRypf5z/TW/ncD/66l75P5hH2vM/GR8Jf8HLc2xnfJtmina6F6du8+v4Z2vTrMo7jC+W1tmEEuuELgkQ=="- },"node_modules/content-disposition": {"version": "0.5.4","resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",@@ -5631,6 +5602,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/data-view-buffer/-/data-view-buffer-1.0.2.tgz","integrity": "sha512-EmKO5V3OLXh1rtK2wgXRansaK1/mtVdTUEiEI0W8RkvgT05kfxaH29PliLnpLP73yYO6142Q72QNa8Wx/A5CqQ==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","es-errors": "^1.3.0",@@ -5647,6 +5619,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/data-view-byte-length/-/data-view-byte-length-1.0.2.tgz","integrity": "sha512-tuhGbE6CfTM9+5ANGf+oQb72Ky/0+s3xKUpHvShfiz2RxMFgFPjsXuRLBVMtvMs15awe45SRb83D6wH4ew6wlQ==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","es-errors": "^1.3.0",@@ -5663,6 +5636,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/data-view-byte-offset/-/data-view-byte-offset-1.0.1.tgz","integrity": "sha512-BS8PfmtDGnrgYdOonGZQdLZslWIeCGFP9tpan0hi1Co2Zr2NKADsvGYA8XxuG/4UWgJ6Cjtv+YJnB6MM69QGlQ==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.2","es-errors": "^1.3.0",@@ -5729,6 +5703,7 @@"version": "1.1.4","resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz","integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",+ "devOptional": true,"dependencies": {"es-define-property": "^1.0.0","es-errors": "^1.3.0",@@ -5745,6 +5720,7 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz","integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",+ "devOptional": true,"dependencies": {"define-data-property": "^1.0.1","has-property-descriptors": "^1.0.0",@@ -5837,17 +5813,6 @@"node": ">=0.10.0"}},- "node_modules/document.contains": {- "version": "1.0.2",- "resolved": "https://registry.npmjs.org/document.contains/-/document.contains-1.0.2.tgz",- "integrity": "sha512-YcvYFs15mX8m3AO1QNQy3BlIpSMfNRj3Ujk2BEJxsZG+HZf7/hZ6jr7mDpXrF8q+ff95Vef5yjhiZxm8CGJr6Q==",- "dependencies": {- "define-properties": "^1.1.3"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },"node_modules/dom-serializer": {"version": "2.0.0","resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",@@ -5981,6 +5946,7 @@"version": "1.24.0","resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.24.0.tgz","integrity": "sha512-WSzPgsdLtTcQwm4CROfS5ju2Wa1QQcVeT37jFjYzdFz1r9ahadC8B8/a4qxJxM+09F18iumCdRmlr96ZYkQvEg==",+ "devOptional": true,"license": "MIT","dependencies": {"array-buffer-byte-length": "^1.0.2",@@ -6123,6 +6089,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.1.0.tgz","integrity": "sha512-d9T8ucsEhh8Bi1woXCf+TIKDIROLG5WCkxg8geBCbvk22kzwC5G2OnXVMO6FUsvQlgUUXQ2itephWDLqDzbeCw==",+ "devOptional": true,"dependencies": {"hasown": "^2.0.2"},@@ -6134,6 +6101,7 @@"version": "1.3.0","resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz","integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==",+ "devOptional": true,"dependencies": {"is-callable": "^1.2.7","is-date-object": "^1.0.5",@@ -7404,6 +7372,7 @@"version": "0.3.5","resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.5.tgz","integrity": "sha512-dKx12eRCVIzqCxFGplyFKJMPvLEWgmNtUrpTiJIR5u97zEhRG8ySrtboPHZXx7daLxQVrl643cTzbab2tkQjxg==",+ "devOptional": true,"dependencies": {"is-callable": "^1.2.7"},@@ -7532,6 +7501,7 @@"version": "1.1.8","resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.8.tgz","integrity": "sha512-e5iwyodOHhbMr/yNrc7fDYG4qlbIvI5gajyzPnb5TCwyhjApznQh1BMFou9b30SevY43gCJKXycoCBjMbsuW0Q==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.3",@@ -7551,6 +7521,7 @@"version": "1.2.3","resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz","integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",+ "devOptional": true,"funding": {"url": "https://github.com/sponsors/ljharb"}@@ -7623,6 +7594,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.1.0.tgz","integrity": "sha512-w9UMqWwJxHNOvoNzSJ2oPF5wvYcvP7jUvYzhp67yEhTi17ZDBBC1z9pTdGuzjD+EFIqLSYRweZjqfiPzQ06Ebg==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","es-errors": "^1.3.0",@@ -7693,6 +7665,7 @@"version": "1.0.4","resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.4.tgz","integrity": "sha512-DpLKbNU4WylpxJykQujfCcwYWiV/Jhm50Goo0wrVILAv5jOr9d+H+UR3PhSCD2rCCEIg0uc+G+muBTwD54JhDQ==",+ "devOptional": true,"dependencies": {"define-properties": "^1.2.1","gopd": "^1.0.1"@@ -7737,6 +7710,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.1.0.tgz","integrity": "sha512-R3pbpkcIqv2Pm3dUwgjclDRVmWpTJW2DcMzcIhEXEx1oh/CEMObMm3KLmRJOdvhM7o4uQBnwr8pzRK2sJWIqfg==",+ "devOptional": true,"engines": {"node": ">= 0.4"},@@ -7756,6 +7730,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz","integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",+ "devOptional": true,"dependencies": {"es-define-property": "^1.0.0"},@@ -7767,6 +7742,7 @@"version": "1.2.0","resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz","integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==",+ "devOptional": true,"dependencies": {"dunder-proto": "^1.0.0"},@@ -7995,6 +7971,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz","integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==",+ "devOptional": true,"dependencies": {"es-errors": "^1.3.0","hasown": "^2.0.2",@@ -8025,6 +8002,7 @@"version": "3.0.5","resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz","integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.3",@@ -8041,6 +8019,7 @@"version": "2.1.1","resolved": "https://registry.npmjs.org/is-async-function/-/is-async-function-2.1.1.tgz","integrity": "sha512-9dgM/cZBnNvjzaMYHVoxxfPj2QXt22Ev7SuuPrs+xav0ukGB0S6d4ydZdEiM48kLx5kDV+QBPrpVnFyefL8kkQ==",+ "devOptional": true,"dependencies": {"async-function": "^1.0.0","call-bound": "^1.0.3",@@ -8059,6 +8038,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz","integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==",+ "devOptional": true,"dependencies": {"has-bigints": "^1.0.2"},@@ -8073,6 +8053,7 @@"version": "1.2.2","resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.2.tgz","integrity": "sha512-wa56o2/ElJMYqjCjGkXri7it5FbebW5usLw/nPmCMs5DeZ7eziSYZhSmPRn0txqeW4LnAmQQU7FgqLpsEFKM4A==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","has-tostringtag": "^1.0.2"@@ -8096,6 +8077,7 @@"version": "1.2.7","resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz","integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",+ "devOptional": true,"engines": {"node": ">= 0.4"},@@ -8121,6 +8103,7 @@"version": "1.0.2","resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz","integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.2","get-intrinsic": "^1.2.6",@@ -8137,6 +8120,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz","integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.2","has-tostringtag": "^1.0.2"@@ -8160,6 +8144,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz","integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3"},@@ -8182,6 +8167,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.1.0.tgz","integrity": "sha512-nPUB5km40q9e8UfN/Zc24eLlzdSf9OfKByBw9CIdw4H1giPMeA0OIJvbchsCu4npfI2QcMVBsGEBHKZ7wLTWmQ==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","get-proto": "^1.0.0",@@ -8210,6 +8196,7 @@"version": "2.0.3","resolved": "https://registry.npmjs.org/is-map/-/is-map-2.0.3.tgz","integrity": "sha512-1Qed0/Hr2m+YqxnM09CjA2d/i6YZNfF6R2oRAOj36eUdS6qIV/huPJNSEpKbupewFs+ZsJlxsjjPbc0/afW6Lw==",+ "devOptional": true,"engines": {"node": ">= 0.4"},@@ -8221,6 +8208,7 @@"version": "2.0.3","resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.3.tgz","integrity": "sha512-5KoIu2Ngpyek75jXodFvnafB6DJgr3u8uuK0LEZJjrU19DrMD3EVERaR8sjz8CCGgpZvxPl9SuE1GMVPFHx1mw==",+ "devOptional": true,"license": "MIT","engines": {"node": ">= 0.4"@@ -8242,6 +8230,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz","integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","has-tostringtag": "^1.0.2"@@ -8266,6 +8255,7 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz","integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.2","gopd": "^1.2.0",@@ -8283,6 +8273,7 @@"version": "2.0.3","resolved": "https://registry.npmjs.org/is-set/-/is-set-2.0.3.tgz","integrity": "sha512-iPAjerrse27/ygGLxw+EBR9agv9Y6uLeYVJMu+QNCoouJ1/1ri0mGrcWpfCqFZuzzx3WjtwxG098X+n4OuRkPg==",+ "devOptional": true,"engines": {"node": ">= 0.4"},@@ -8294,6 +8285,7 @@"version": "1.0.4","resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.4.tgz","integrity": "sha512-ISWac8drv4ZGfwKl5slpHG9OwPNty4jOWPRIhBpxOoD+hqITiwuipOQ2bNthAzwA3B4fIjO4Nln74N0S9byq8A==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3"},@@ -8327,6 +8319,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz","integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","has-tostringtag": "^1.0.2"@@ -8342,6 +8335,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz","integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.2","has-symbols": "^1.1.0",@@ -8358,6 +8352,7 @@"version": "1.1.15","resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.15.tgz","integrity": "sha512-p3EcsicXjit7SaskXHs1hA91QxgTw46Fv6EFKKGS5DRFLD8yKnohjF3hxoju94b/OcMZoQukzpPpBE9uLVKzgQ==",+ "devOptional": true,"dependencies": {"which-typed-array": "^1.1.16"},@@ -8372,6 +8367,7 @@"version": "2.0.2","resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz","integrity": "sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==",+ "devOptional": true,"engines": {"node": ">= 0.4"},@@ -8383,6 +8379,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.1.tgz","integrity": "sha512-6i9mGWSlqzNMEqpCp93KwRS1uUOodk2OJ6b+sq7ZPDSy2WuI5NFIxp/254TytR8ftefexkWn5xNiHUNpPOfSew==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3"},@@ -8397,6 +8394,7 @@"version": "2.0.4","resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz","integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","get-intrinsic": "^1.2.6"@@ -9376,25 +9374,11 @@"url": "https://github.com/sponsors/ljharb"}},- "node_modules/object-is": {- "version": "1.1.6",- "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz",- "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==",- "dependencies": {- "call-bind": "^1.0.7",- "define-properties": "^1.2.1"- },- "engines": {- "node": ">= 0.4"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },"node_modules/object-keys": {"version": "1.1.1","resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz","integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",+ "devOptional": true,"engines": {"node": ">= 0.4"}@@ -9403,6 +9387,7 @@"version": "4.1.7","resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.7.tgz","integrity": "sha512-nK28WOo+QIjBkDduTINE4JkF/UJJKyf2EJxvJKfblDpyg0Q+pkOHNTL0Qwy6NP6FhE/EnzV73BxxqcJaXY9anw==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.3",@@ -9422,6 +9407,7 @@"version": "1.1.9","resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.9.tgz","integrity": "sha512-8u/hfXFRBD1O0hPUjioLhoWFHRmt6tKA4/vZPyckBr18l1KE9uHrFaFaUi8MDRTpi4uak2goyPTSNJLXX2k2Hw==",+ "dev": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.4",@@ -9468,6 +9454,7 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/object.values/-/object.values-1.2.1.tgz","integrity": "sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.3",@@ -9522,6 +9509,7 @@"version": "1.0.1","resolved": "https://registry.npmjs.org/own-keys/-/own-keys-1.0.1.tgz","integrity": "sha512-qFOyK5PjiWZd+QQIh+1jhdb9LpxTF0qs7Pm8o5QHYZ0M3vKqSqzsZaEB6oWlxZ+q2sJBMI/Ktgd2N5ZwQoRHfg==",+ "devOptional": true,"dependencies": {"get-intrinsic": "^1.2.6","object-keys": "^1.1.1",@@ -9707,6 +9695,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.1.0.tgz","integrity": "sha512-/+5VFTchJDoVj3bhoqi6UeymcD00DAwb1nJwamzPvHEszJ4FpF6SNNbUbOS8yI56qHzdV8eK0qEfOSiodkTdxg==",+ "devOptional": true,"engines": {"node": ">= 0.4"}@@ -9901,30 +9890,6 @@"react-is": "^16.13.1"}},- "node_modules/prop-types-exact": {- "version": "1.2.7",- "resolved": "https://registry.npmjs.org/prop-types-exact/-/prop-types-exact-1.2.7.tgz",- "integrity": "sha512-A4RaV6mg3jocQqBYmqi2ojJ2VnV4AKTEHhl3xHsud08/u87gcVJc8DUOtgnPegoOCQv/shUqEk4eZGYibjnHzQ==",- "dependencies": {- "call-bound": "^1.0.3",- "es-errors": "^1.3.0",- "hasown": "^2.0.2",- "isarray": "^2.0.5",- "object.assign": "^4.1.7",- "own-keys": "^1.0.0"- },- "engines": {- "node": ">= 0.8"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- }- },- "node_modules/prop-types-exact/node_modules/isarray": {- "version": "2.0.5",- "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="- },"node_modules/proxy-addr": {"version": "2.0.7","resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",@@ -10126,45 +10091,6 @@"react-dom": "^18.0.0"}},- "node_modules/react-outside-click-handler": {- "version": "1.3.0",- "resolved": "https://registry.npmjs.org/react-outside-click-handler/-/react-outside-click-handler-1.3.0.tgz",- "integrity": "sha512-Te/7zFU0oHpAnctl//pP3hEAeobfeHMyygHB8MnjP6sX5OR8KHT1G3jmLsV3U9RnIYo+Yn+peJYWu+D5tUS8qQ==",- "dependencies": {- "airbnb-prop-types": "^2.15.0",- "consolidated-events": "^1.1.1 || ^2.0.0",- "document.contains": "^1.0.1",- "object.values": "^1.1.0",- "prop-types": "^15.7.2"- },- "peerDependencies": {- "react": "^0.14 || >=15",- "react-dom": "^0.14 || >=15"- }- },- "node_modules/react-outside-click-handler/node_modules/airbnb-prop-types": {- "version": "2.16.0",- "resolved": "https://registry.npmjs.org/airbnb-prop-types/-/airbnb-prop-types-2.16.0.tgz",- "integrity": "sha512-7WHOFolP/6cS96PhKNrslCLMYAI8yB1Pp6u6XmxozQOiZbsI5ycglZr5cHhBFfuRcQQjzCMith5ZPZdYiJCxUg==",- "deprecated": "This package has been renamed to 'prop-types-tools'",- "dependencies": {- "array.prototype.find": "^2.1.1",- "function.prototype.name": "^1.1.2",- "is-regex": "^1.1.0",- "object-is": "^1.1.2",- "object.assign": "^4.1.0",- "object.entries": "^1.1.2",- "prop-types": "^15.7.2",- "prop-types-exact": "^1.2.0",- "react-is": "^16.13.1"- },- "funding": {- "url": "https://github.com/sponsors/ljharb"- },- "peerDependencies": {- "react": "^0.14 || ^15.0.0 || ^16.0.0-alpha"- }- },"node_modules/react-qr-code": {"version": "2.0.18","resolved": "https://registry.npmjs.org/react-qr-code/-/react-qr-code-2.0.18.tgz",@@ -10261,6 +10187,7 @@"version": "1.0.10","resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.10.tgz","integrity": "sha512-00o4I+DVrefhv+nX0ulyi3biSHCPDe+yLv5o/p6d/UVlirijB8E16FtfwSAi4g3tcqrQ4lRAqQSoFEZJehYEcw==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","define-properties": "^1.2.1",@@ -10282,6 +10209,7 @@"version": "1.5.4","resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.4.tgz","integrity": "sha512-dYqgNSZbDwkaJ2ceRd9ojCGjBq+mOm9LmtXnAnEGyHhN/5R7iDW2TRw3h+o/jCFxus3P2LfWIIiwowAjANm7IA==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","define-properties": "^1.2.1",@@ -10536,6 +10464,7 @@"version": "1.1.3","resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz","integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.2",@@ -10553,7 +10482,8 @@"node_modules/safe-array-concat/node_modules/isarray": {"version": "2.0.5","resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",+ "devOptional": true},"node_modules/safe-buffer": {"version": "5.2.1",@@ -10578,6 +10508,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/safe-push-apply/-/safe-push-apply-1.0.0.tgz","integrity": "sha512-iKE9w/Z7xCzUMIZqdBsp6pEQvwuEebH4vdpjcDWnyzaI6yl6O9FHvVpmGelvEHNsoY6wGblkxR6Zty/h00WiSA==",+ "devOptional": true,"dependencies": {"es-errors": "^1.3.0","isarray": "^2.0.5"@@ -10592,12 +10523,14 @@"node_modules/safe-push-apply/node_modules/isarray": {"version": "2.0.5","resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",+ "devOptional": true},"node_modules/safe-regex-test": {"version": "1.1.0","resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz","integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.2","es-errors": "^1.3.0",@@ -10729,6 +10662,7 @@"version": "1.2.2","resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz","integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",+ "devOptional": true,"dependencies": {"define-data-property": "^1.1.4","es-errors": "^1.3.0",@@ -10745,6 +10679,7 @@"version": "2.0.2","resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.2.tgz","integrity": "sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==",+ "devOptional": true,"dependencies": {"define-data-property": "^1.1.4","es-errors": "^1.3.0",@@ -10759,6 +10694,7 @@"version": "1.0.0","resolved": "https://registry.npmjs.org/set-proto/-/set-proto-1.0.0.tgz","integrity": "sha512-RJRdvCo6IAnPdsvP/7m6bsQqNnn1FCBX5ZNtFL98MmFF/4xAIJTIg1YbHW5DC2W5SKZanrC6i4HsJqlajw/dZw==",+ "devOptional": true,"dependencies": {"dunder-proto": "^1.0.1","es-errors": "^1.3.0",@@ -10998,6 +10934,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.1.0.tgz","integrity": "sha512-eLoXW/DHyl62zxY4SCaIgnRhuMr6ri4juEYARS8E6sCEqzKpOiE521Ucofdx+KnDZl5xmvGYaaKCk5FEOxJCoQ==",+ "devOptional": true,"license": "MIT","dependencies": {"es-errors": "^1.3.0",@@ -11121,6 +11058,7 @@"version": "1.2.10","resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz","integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.2",@@ -11141,6 +11079,7 @@"version": "1.0.9","resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz","integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","call-bound": "^1.0.2",@@ -11158,6 +11097,7 @@"version": "1.0.8","resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.8.tgz","integrity": "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.7","define-properties": "^1.2.1",@@ -11509,6 +11449,7 @@"version": "1.0.3","resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.3.tgz","integrity": "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","es-errors": "^1.3.0",@@ -11522,6 +11463,7 @@"version": "1.0.3","resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.3.tgz","integrity": "sha512-BaXgOuIxz8n8pIq3e7Atg/7s+DpiYrxn4vdot3w9KbnBhcRQq6o3xemQdIfynqSeXeDrF32x+WvfzmOjPiY9lg==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.8","for-each": "^0.3.3",@@ -11540,6 +11482,7 @@"version": "1.0.4","resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.4.tgz","integrity": "sha512-bTlAFB/FBYMcuX81gbL4OcpH5PmlFHqlCCpAl8AlEzMz5k53oNDvN8p1PNOWLEmI2x4orp3raOFB51tv9X+MFQ==",+ "devOptional": true,"dependencies": {"available-typed-arrays": "^1.0.7","call-bind": "^1.0.8",@@ -11560,6 +11503,7 @@"version": "1.0.7","resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz","integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==",+ "devOptional": true,"dependencies": {"call-bind": "^1.0.7","for-each": "^0.3.3",@@ -11616,6 +11560,7 @@"version": "1.1.0","resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz","integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.3","has-bigints": "^1.0.2",@@ -12023,6 +11968,7 @@"version": "1.1.1","resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz","integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==",+ "devOptional": true,"dependencies": {"is-bigint": "^1.1.0","is-boolean-object": "^1.2.1",@@ -12041,6 +11987,7 @@"version": "1.2.1","resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz","integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==",+ "devOptional": true,"dependencies": {"call-bound": "^1.0.2","function.prototype.name": "^1.1.6",@@ -12066,12 +12013,14 @@"node_modules/which-builtin-type/node_modules/isarray": {"version": "2.0.5","resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",- "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",+ "devOptional": true},"node_modules/which-collection": {"version": "1.0.2","resolved": "https://registry.npmjs.org/which-collection/-/which-collection-1.0.2.tgz","integrity": "sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==",+ "devOptional": true,"dependencies": {"is-map": "^2.0.3","is-set": "^2.0.3",@@ -12089,6 +12038,7 @@"version": "1.1.19","resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.19.tgz","integrity": "sha512-rEvr90Bck4WZt9HHFC4DJMsjvu7x+r6bImz0/BrbWb7A2djJ8hnZMrWnHo9F8ssv0OMErasDhftrfROTyqSDrw==",+ "devOptional": true,"dependencies": {"available-typed-arrays": "^1.0.7","call-bind": "^1.0.8",diff --git a/web/package.json b/web/package.jsonindex e65570aaa..d0361ece8 100644--- a/web/package.json+++ b/web/package.json@@ -65,7 +65,6 @@"react-hotkeys-hook": "^4.6.1","react-i18next": "^15.7.3","react-leaflet": "^4.2.1",- "react-outside-click-handler": "^1.3.0","react-qr-code": "^2.0.18","react-router": "^7.9.1","remix-i18next": "^7.3.0",@@ -102,7 +101,6 @@"@types/react": "^18.3.12","@types/react-dom": "^18.3.1","@types/react-flatpickr": "^3.8.11",- "@types/react-outside-click-handler": "^1.3.4","@types/sanitize-html": "^2.16.0","@typescript-eslint/eslint-plugin": "^8.43.0","@typescript-eslint/parser": "^8.43.0",