Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
commit
5bcbdc8ced
5 files changed
+191
-72
No files matched your search
Generated
+122
-25
@@ -302,7 +302,7 @@ importers:
|
|||||||
version: 6.4.1(rollup@4.60.3)(typescript@6.0.3)
|
version: 6.4.1(rollup@4.60.3)(typescript@6.0.3)
|
||||||
rollup-plugin-node-externals:
|
rollup-plugin-node-externals:
|
||||||
specifier: ^9.0.1
|
specifier: ^9.0.1
|
||||||
version: 9.0.1(rollup@4.60.3)(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1))
|
version: 9.0.1(rollup@4.60.3)(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0))
|
||||||
rollup-plugin-peer-deps-external:
|
rollup-plugin-peer-deps-external:
|
||||||
specifier: ^2.2.4
|
specifier: ^2.2.4
|
||||||
version: 2.2.4(rollup@4.60.3)
|
version: 2.2.4(rollup@4.60.3)
|
||||||
@@ -320,7 +320,7 @@ importers:
|
|||||||
version: 10.9.2(@swc/core@1.15.26(@swc/helpers@0.5.21))(@types/node@25.8.0)(typescript@6.0.3)
|
version: 10.9.2(@swc/core@1.15.26(@swc/helpers@0.5.21))(@types/node@25.8.0)(typescript@6.0.3)
|
||||||
tsup:
|
tsup:
|
||||||
specifier: ^8.5.0
|
specifier: ^8.5.0
|
||||||
version: 8.5.1(@swc/core@1.15.26(@swc/helpers@0.5.21))(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0)(typescript@6.0.3)(yaml@2.8.1)
|
version: 8.5.1(@swc/core@1.15.26(@swc/helpers@0.5.21))(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0)(typescript@6.0.3)
|
||||||
tsx:
|
tsx:
|
||||||
specifier: ^4.22.0
|
specifier: ^4.22.0
|
||||||
version: 4.22.0
|
version: 4.22.0
|
||||||
@@ -329,9 +329,46 @@ importers:
|
|||||||
version: 6.0.3
|
version: 6.0.3
|
||||||
vitest:
|
vitest:
|
||||||
specifier: ^4.1.6
|
specifier: ^4.1.6
|
||||||
version: 4.1.6(@types/node@25.8.0)(jsdom@29.1.1)(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1))
|
version: 4.1.6(@types/node@25.8.0)(jsdom@29.1.1)(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0))
|
||||||
|
|
||||||
dist: {}
|
dist:
|
||||||
|
dependencies:
|
||||||
|
chart.js:
|
||||||
|
specifier: ^4.5.0
|
||||||
|
version: 4.5.1
|
||||||
|
chartjs-adapter-date-fns:
|
||||||
|
specifier: ^3.0.0
|
||||||
|
version: 3.0.0(chart.js@4.5.1)(date-fns@4.1.0)
|
||||||
|
colord:
|
||||||
|
specifier: ^2.9.2
|
||||||
|
version: 2.9.3
|
||||||
|
jsonwebtoken:
|
||||||
|
specifier: ^9.0.2
|
||||||
|
version: 9.0.3
|
||||||
|
lucide-react:
|
||||||
|
specifier: ^0.542.0
|
||||||
|
version: 0.542.0(react@19.2.6)
|
||||||
|
pure-rand:
|
||||||
|
specifier: ^7.0.1
|
||||||
|
version: 7.0.1
|
||||||
|
react-simple-maps:
|
||||||
|
specifier: ^2.3.0
|
||||||
|
version: 2.3.0(prop-types@15.8.1)(react-dom@19.2.6(react@19.2.6))(react@19.2.6)
|
||||||
|
react-use-measure:
|
||||||
|
specifier: ^2.0.4
|
||||||
|
version: 2.1.7(react-dom@19.2.6(react@19.2.6))(react@19.2.6)
|
||||||
|
react-window:
|
||||||
|
specifier: ^1.8.6
|
||||||
|
version: 1.8.11(react-dom@19.2.6(react@19.2.6))(react@19.2.6)
|
||||||
|
serialize-error:
|
||||||
|
specifier: ^12.0.0
|
||||||
|
version: 12.0.0
|
||||||
|
thenby:
|
||||||
|
specifier: ^1.3.4
|
||||||
|
version: 1.4.1
|
||||||
|
uuid:
|
||||||
|
specifier: ^11.1.0
|
||||||
|
version: 11.1.1
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
|
|
||||||
@@ -4769,6 +4806,11 @@ packages:
|
|||||||
resolution: {integrity: sha512-DqC6n3QQ77zdFpCMASA1a3Jlb64Hv2N2DciFGkO/4L9+q/IpIAuRlKOvCXabtRW6cQf8usbmM6BE/TOPysCdIA==}
|
resolution: {integrity: sha512-DqC6n3QQ77zdFpCMASA1a3Jlb64Hv2N2DciFGkO/4L9+q/IpIAuRlKOvCXabtRW6cQf8usbmM6BE/TOPysCdIA==}
|
||||||
engines: {bun: '>=1.0.0', deno: '>=1.30.0', node: '>=8.0.0'}
|
engines: {bun: '>=1.0.0', deno: '>=1.30.0', node: '>=8.0.0'}
|
||||||
|
|
||||||
|
lucide-react@0.542.0:
|
||||||
|
resolution: {integrity: sha512-w3hD8/SQB7+lzU2r4VdFyzzOzKnUjTZIF/MQJGSSvni7Llewni4vuViRppfRAa2guOsY5k4jZyxw/i9DQHv+dw==}
|
||||||
|
peerDependencies:
|
||||||
|
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||||
|
|
||||||
lucide-react@0.555.0:
|
lucide-react@0.555.0:
|
||||||
resolution: {integrity: sha512-D8FvHUGbxWBRQM90NZeIyhAvkFfsh3u9ekrMvJ30Z6gnpBHS6HC6ldLg7tL45hwiIz/u66eKDtdA23gwwGsAHA==}
|
resolution: {integrity: sha512-D8FvHUGbxWBRQM90NZeIyhAvkFfsh3u9ekrMvJ30Z6gnpBHS6HC6ldLg7tL45hwiIz/u66eKDtdA23gwwGsAHA==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -4816,6 +4858,9 @@ packages:
|
|||||||
mdn-data@2.27.1:
|
mdn-data@2.27.1:
|
||||||
resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==}
|
resolution: {integrity: sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==}
|
||||||
|
|
||||||
|
memoize-one@5.2.1:
|
||||||
|
resolution: {integrity: sha512-zYiwtZUcYyXKo/np96AGZAckk+FWWsUdJ3cHGGmld7+AhvcWmQyGCYUh1hc4Q/pkOhb65dQR/pqCyK0cOaHz4Q==}
|
||||||
|
|
||||||
memorystream@0.3.1:
|
memorystream@0.3.1:
|
||||||
resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==}
|
resolution: {integrity: sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==}
|
||||||
engines: {node: '>= 0.10.0'}
|
engines: {node: '>= 0.10.0'}
|
||||||
@@ -5744,6 +5789,9 @@ packages:
|
|||||||
pure-rand@6.1.0:
|
pure-rand@6.1.0:
|
||||||
resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==}
|
resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==}
|
||||||
|
|
||||||
|
pure-rand@7.0.1:
|
||||||
|
resolution: {integrity: sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==}
|
||||||
|
|
||||||
pure-rand@8.4.0:
|
pure-rand@8.4.0:
|
||||||
resolution: {integrity: sha512-IoM8YF/jY0hiugFo/wOWqfmarlE6J0wc6fDK1PhftMk7MGhVZl88sZimmqBBFomLOCSmcCCpsfj7wXASCpvK9A==}
|
resolution: {integrity: sha512-IoM8YF/jY0hiugFo/wOWqfmarlE6J0wc6fDK1PhftMk7MGhVZl88sZimmqBBFomLOCSmcCCpsfj7wXASCpvK9A==}
|
||||||
|
|
||||||
@@ -5811,6 +5859,13 @@ packages:
|
|||||||
react: ^18.0.0 || ^19.0.0
|
react: ^18.0.0 || ^19.0.0
|
||||||
react-dom: ^18.0.0 || ^19.0.0
|
react-dom: ^18.0.0 || ^19.0.0
|
||||||
|
|
||||||
|
react-simple-maps@2.3.0:
|
||||||
|
resolution: {integrity: sha512-IZVeiPSRZKwD6I/2NvXpQ2uENYGDGZp8DvZjkapcxuJ/LQHTfl+Byb+KNgY7s+iatRA2ad8LnZ3AgqcjziCCsw==}
|
||||||
|
peerDependencies:
|
||||||
|
prop-types: ^15.7.2
|
||||||
|
react: ^16.8.0 || 17.x
|
||||||
|
react-dom: ^16.8.0 || 17.x
|
||||||
|
|
||||||
react-simple-maps@3.0.0:
|
react-simple-maps@3.0.0:
|
||||||
resolution: {integrity: sha512-vKNFrvpPG8Vyfdjnz5Ne1N56rZlDfHXv5THNXOVZMqbX1rWZA48zQuYT03mx6PAKanqarJu/PDLgshIZAfHHqw==}
|
resolution: {integrity: sha512-vKNFrvpPG8Vyfdjnz5Ne1N56rZlDfHXv5THNXOVZMqbX1rWZA48zQuYT03mx6PAKanqarJu/PDLgshIZAfHHqw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -5832,6 +5887,13 @@ packages:
|
|||||||
react-dom:
|
react-dom:
|
||||||
optional: true
|
optional: true
|
||||||
|
|
||||||
|
react-window@1.8.11:
|
||||||
|
resolution: {integrity: sha512-+SRbUVT2scadgFSWx+R1P754xHPEqvcfSfVX10QYg6POOz+WNgkN48pS+BtZNIMGiL1HYrSEiCkwsMS15QogEQ==}
|
||||||
|
engines: {node: '>8.0.0'}
|
||||||
|
peerDependencies:
|
||||||
|
react: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||||
|
react-dom: ^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
|
||||||
|
|
||||||
react-window@2.2.7:
|
react-window@2.2.7:
|
||||||
resolution: {integrity: sha512-SH5nvfUQwGHYyriDUAOt7wfPsfG9Qxd6OdzQxl5oQ4dsSsUicqQvjV7dR+NqZ4coY0fUn3w1jnC5PwzIUWEg5w==}
|
resolution: {integrity: sha512-SH5nvfUQwGHYyriDUAOt7wfPsfG9Qxd6OdzQxl5oQ4dsSsUicqQvjV7dR+NqZ4coY0fUn3w1jnC5PwzIUWEg5w==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
@@ -6045,6 +6107,10 @@ packages:
|
|||||||
seq-queue@0.0.5:
|
seq-queue@0.0.5:
|
||||||
resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==}
|
resolution: {integrity: sha512-hr3Wtp/GZIc/6DAGPDcV4/9WoZhjrkXsi5B/07QgX8tsdc6ilr7BFM6PM6rbdAX1kFSDYeZGLipIZZKyQP0O5Q==}
|
||||||
|
|
||||||
|
serialize-error@12.0.0:
|
||||||
|
resolution: {integrity: sha512-ZYkZLAvKTKQXWuh5XpBw7CdbSzagarX39WyZ2H07CDLC5/KfsRGlIXV8d4+tfqX1M7916mRqR1QfNHSij+c9Pw==}
|
||||||
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
serialize-error@13.0.1:
|
serialize-error@13.0.1:
|
||||||
resolution: {integrity: sha512-bBZaRwLH9PN5HbLCjPId4dP5bNGEtumcErgOX952IsvOhVPrm3/AeK1y0UHA/QaPG701eg0yEnOKsCOC6X/kaA==}
|
resolution: {integrity: sha512-bBZaRwLH9PN5HbLCjPId4dP5bNGEtumcErgOX952IsvOhVPrm3/AeK1y0UHA/QaPG701eg0yEnOKsCOC6X/kaA==}
|
||||||
engines: {node: '>=20'}
|
engines: {node: '>=20'}
|
||||||
@@ -6486,6 +6552,10 @@ packages:
|
|||||||
resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==}
|
resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
|
||||||
|
type-fest@4.41.0:
|
||||||
|
resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==}
|
||||||
|
engines: {node: '>=16'}
|
||||||
|
|
||||||
type-fest@5.6.0:
|
type-fest@5.6.0:
|
||||||
resolution: {integrity: sha512-8ZiHFm91orbSAe2PSAiSVBVko18pbhbiB3U9GglSzF/zCGkR+rxpHx6sEMCUm4kxY4LjDIUGgCfUMtwfZfjfUA==}
|
resolution: {integrity: sha512-8ZiHFm91orbSAe2PSAiSVBVko18pbhbiB3U9GglSzF/zCGkR+rxpHx6sEMCUm4kxY4LjDIUGgCfUMtwfZfjfUA==}
|
||||||
engines: {node: '>=20'}
|
engines: {node: '>=20'}
|
||||||
@@ -6568,6 +6638,10 @@ packages:
|
|||||||
util-deprecate@1.0.2:
|
util-deprecate@1.0.2:
|
||||||
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
|
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
|
||||||
|
|
||||||
|
uuid@11.1.1:
|
||||||
|
resolution: {integrity: sha512-vIYxrBCC/N/K+Js3qSN88go7kIfNPssr/hHCesKCQNAjmgvYS2oqr69kIufEG+O4+PfezOH4EbIeHCfFov8ZgQ==}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
uuid@14.0.0:
|
uuid@14.0.0:
|
||||||
resolution: {integrity: sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==}
|
resolution: {integrity: sha512-Qo+uWgilfSmAhXCMav1uYFynlQO7fMFiMVZsQqZRMIXp0O7rR7qjkj+cPvBHLgBqi960QCoo/PH2/6ZtVqKvrg==}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
@@ -6772,11 +6846,6 @@ packages:
|
|||||||
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
|
resolution: {integrity: sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==}
|
||||||
engines: {node: '>= 6'}
|
engines: {node: '>= 6'}
|
||||||
|
|
||||||
yaml@2.8.1:
|
|
||||||
resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==}
|
|
||||||
engines: {node: '>= 14.6'}
|
|
||||||
hasBin: true
|
|
||||||
|
|
||||||
yargs-parser@21.1.1:
|
yargs-parser@21.1.1:
|
||||||
resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
|
resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
|
||||||
engines: {node: '>=12'}
|
engines: {node: '>=12'}
|
||||||
@@ -9239,14 +9308,14 @@ snapshots:
|
|||||||
chai: 6.2.2
|
chai: 6.2.2
|
||||||
tinyrainbow: 3.1.0
|
tinyrainbow: 3.1.0
|
||||||
|
|
||||||
'@vitest/mocker@4.1.6(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1))':
|
'@vitest/mocker@4.1.6(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0))':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vitest/spy': 4.1.6
|
'@vitest/spy': 4.1.6
|
||||||
estree-walker: 3.0.3
|
estree-walker: 3.0.3
|
||||||
magic-string: 0.30.21
|
magic-string: 0.30.21
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
msw: 2.14.6(@types/node@25.8.0)(typescript@6.0.3)
|
msw: 2.14.6(@types/node@25.8.0)(typescript@6.0.3)
|
||||||
vite: 8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1)
|
vite: 8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)
|
||||||
|
|
||||||
'@vitest/pretty-format@4.1.6':
|
'@vitest/pretty-format@4.1.6':
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -11289,6 +11358,10 @@ snapshots:
|
|||||||
|
|
||||||
lru.min@1.1.4: {}
|
lru.min@1.1.4: {}
|
||||||
|
|
||||||
|
lucide-react@0.542.0(react@19.2.6):
|
||||||
|
dependencies:
|
||||||
|
react: 19.2.6
|
||||||
|
|
||||||
lucide-react@0.555.0(react@19.2.6):
|
lucide-react@0.555.0(react@19.2.6):
|
||||||
dependencies:
|
dependencies:
|
||||||
react: 19.2.6
|
react: 19.2.6
|
||||||
@@ -11328,6 +11401,8 @@ snapshots:
|
|||||||
|
|
||||||
mdn-data@2.27.1: {}
|
mdn-data@2.27.1: {}
|
||||||
|
|
||||||
|
memoize-one@5.2.1: {}
|
||||||
|
|
||||||
memorystream@0.3.1: {}
|
memorystream@0.3.1: {}
|
||||||
|
|
||||||
merge-stream@2.0.0: {}
|
merge-stream@2.0.0: {}
|
||||||
@@ -11906,14 +11981,13 @@ snapshots:
|
|||||||
postcss: 8.5.14
|
postcss: 8.5.14
|
||||||
ts-node: 10.9.2(@swc/core@1.15.26(@swc/helpers@0.5.21))(@types/node@25.8.0)(typescript@6.0.3)
|
ts-node: 10.9.2(@swc/core@1.15.26(@swc/helpers@0.5.21))(@types/node@25.8.0)(typescript@6.0.3)
|
||||||
|
|
||||||
postcss-load-config@6.0.1(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0)(yaml@2.8.1):
|
postcss-load-config@6.0.1(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
lilconfig: 3.1.3
|
lilconfig: 3.1.3
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
jiti: 2.7.0
|
jiti: 2.7.0
|
||||||
postcss: 8.5.14
|
postcss: 8.5.14
|
||||||
tsx: 4.22.0
|
tsx: 4.22.0
|
||||||
yaml: 2.8.1
|
|
||||||
|
|
||||||
postcss-logical@9.0.0(postcss@8.5.14):
|
postcss-logical@9.0.0(postcss@8.5.14):
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -12282,6 +12356,8 @@ snapshots:
|
|||||||
|
|
||||||
pure-rand@6.1.0: {}
|
pure-rand@6.1.0: {}
|
||||||
|
|
||||||
|
pure-rand@7.0.1: {}
|
||||||
|
|
||||||
pure-rand@8.4.0: {}
|
pure-rand@8.4.0: {}
|
||||||
|
|
||||||
queue-microtask@1.2.3: {}
|
queue-microtask@1.2.3: {}
|
||||||
@@ -12351,6 +12427,16 @@ snapshots:
|
|||||||
react: 19.2.6
|
react: 19.2.6
|
||||||
react-dom: 19.2.6(react@19.2.6)
|
react-dom: 19.2.6(react@19.2.6)
|
||||||
|
|
||||||
|
react-simple-maps@2.3.0(prop-types@15.8.1)(react-dom@19.2.6(react@19.2.6))(react@19.2.6):
|
||||||
|
dependencies:
|
||||||
|
d3-geo: 2.0.2
|
||||||
|
d3-selection: 2.0.0
|
||||||
|
d3-zoom: 2.0.0
|
||||||
|
prop-types: 15.8.1
|
||||||
|
react: 19.2.6
|
||||||
|
react-dom: 19.2.6(react@19.2.6)
|
||||||
|
topojson-client: 3.1.0
|
||||||
|
|
||||||
react-simple-maps@3.0.0(prop-types@15.8.1)(react-dom@19.2.6(react@19.2.6))(react@19.2.6):
|
react-simple-maps@3.0.0(prop-types@15.8.1)(react-dom@19.2.6(react@19.2.6))(react@19.2.6):
|
||||||
dependencies:
|
dependencies:
|
||||||
d3-geo: 2.0.2
|
d3-geo: 2.0.2
|
||||||
@@ -12377,6 +12463,13 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
react-dom: 19.2.6(react@19.2.6)
|
react-dom: 19.2.6(react@19.2.6)
|
||||||
|
|
||||||
|
react-window@1.8.11(react-dom@19.2.6(react@19.2.6))(react@19.2.6):
|
||||||
|
dependencies:
|
||||||
|
'@babel/runtime': 7.29.2
|
||||||
|
memoize-one: 5.2.1
|
||||||
|
react: 19.2.6
|
||||||
|
react-dom: 19.2.6(react@19.2.6)
|
||||||
|
|
||||||
react-window@2.2.7(react-dom@19.2.6(react@19.2.6))(react@19.2.6):
|
react-window@2.2.7(react-dom@19.2.6(react@19.2.6))(react@19.2.6):
|
||||||
dependencies:
|
dependencies:
|
||||||
react: 19.2.6
|
react: 19.2.6
|
||||||
@@ -12528,10 +12621,10 @@ snapshots:
|
|||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@babel/code-frame': 7.29.0
|
'@babel/code-frame': 7.29.0
|
||||||
|
|
||||||
rollup-plugin-node-externals@9.0.1(rollup@4.60.3)(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1)):
|
rollup-plugin-node-externals@9.0.1(rollup@4.60.3)(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)):
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
rollup: 4.60.3
|
rollup: 4.60.3
|
||||||
vite: 8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1)
|
vite: 8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)
|
||||||
|
|
||||||
rollup-plugin-peer-deps-external@2.2.4(rollup@4.60.3):
|
rollup-plugin-peer-deps-external@2.2.4(rollup@4.60.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -12658,6 +12751,10 @@ snapshots:
|
|||||||
|
|
||||||
seq-queue@0.0.5: {}
|
seq-queue@0.0.5: {}
|
||||||
|
|
||||||
|
serialize-error@12.0.0:
|
||||||
|
dependencies:
|
||||||
|
type-fest: 4.41.0
|
||||||
|
|
||||||
serialize-error@13.0.1:
|
serialize-error@13.0.1:
|
||||||
dependencies:
|
dependencies:
|
||||||
non-error: 0.1.0
|
non-error: 0.1.0
|
||||||
@@ -13097,7 +13194,7 @@ snapshots:
|
|||||||
|
|
||||||
tslib@2.8.1: {}
|
tslib@2.8.1: {}
|
||||||
|
|
||||||
tsup@8.5.1(@swc/core@1.15.26(@swc/helpers@0.5.21))(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0)(typescript@6.0.3)(yaml@2.8.1):
|
tsup@8.5.1(@swc/core@1.15.26(@swc/helpers@0.5.21))(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0)(typescript@6.0.3):
|
||||||
dependencies:
|
dependencies:
|
||||||
bundle-require: 5.1.0(esbuild@0.27.7)
|
bundle-require: 5.1.0(esbuild@0.27.7)
|
||||||
cac: 6.7.14
|
cac: 6.7.14
|
||||||
@@ -13108,7 +13205,7 @@ snapshots:
|
|||||||
fix-dts-default-cjs-exports: 1.0.1
|
fix-dts-default-cjs-exports: 1.0.1
|
||||||
joycon: 3.1.1
|
joycon: 3.1.1
|
||||||
picocolors: 1.1.1
|
picocolors: 1.1.1
|
||||||
postcss-load-config: 6.0.1(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0)(yaml@2.8.1)
|
postcss-load-config: 6.0.1(jiti@2.7.0)(postcss@8.5.14)(tsx@4.22.0)
|
||||||
resolve-from: 5.0.0
|
resolve-from: 5.0.0
|
||||||
rollup: 4.60.3
|
rollup: 4.60.3
|
||||||
source-map: 0.7.6
|
source-map: 0.7.6
|
||||||
@@ -13136,6 +13233,8 @@ snapshots:
|
|||||||
|
|
||||||
type-fest@0.21.3: {}
|
type-fest@0.21.3: {}
|
||||||
|
|
||||||
|
type-fest@4.41.0: {}
|
||||||
|
|
||||||
type-fest@5.6.0:
|
type-fest@5.6.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
tagged-tag: 1.0.0
|
tagged-tag: 1.0.0
|
||||||
@@ -13228,6 +13327,8 @@ snapshots:
|
|||||||
|
|
||||||
util-deprecate@1.0.2: {}
|
util-deprecate@1.0.2: {}
|
||||||
|
|
||||||
|
uuid@11.1.1: {}
|
||||||
|
|
||||||
uuid@14.0.0: {}
|
uuid@14.0.0: {}
|
||||||
|
|
||||||
v8-compile-cache-lib@3.0.1: {}
|
v8-compile-cache-lib@3.0.1: {}
|
||||||
@@ -13249,7 +13350,7 @@ snapshots:
|
|||||||
|
|
||||||
vary@1.1.2: {}
|
vary@1.1.2: {}
|
||||||
|
|
||||||
vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1):
|
vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0):
|
||||||
dependencies:
|
dependencies:
|
||||||
lightningcss: 1.32.0
|
lightningcss: 1.32.0
|
||||||
picomatch: 4.0.4
|
picomatch: 4.0.4
|
||||||
@@ -13263,12 +13364,11 @@ snapshots:
|
|||||||
jiti: 2.7.0
|
jiti: 2.7.0
|
||||||
terser: 5.46.1
|
terser: 5.46.1
|
||||||
tsx: 4.22.0
|
tsx: 4.22.0
|
||||||
yaml: 2.8.1
|
|
||||||
|
|
||||||
vitest@4.1.6(@types/node@25.8.0)(jsdom@29.1.1)(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1)):
|
vitest@4.1.6(@types/node@25.8.0)(jsdom@29.1.1)(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@vitest/expect': 4.1.6
|
'@vitest/expect': 4.1.6
|
||||||
'@vitest/mocker': 4.1.6(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1))
|
'@vitest/mocker': 4.1.6(msw@2.14.6(@types/node@25.8.0)(typescript@6.0.3))(vite@8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0))
|
||||||
'@vitest/pretty-format': 4.1.6
|
'@vitest/pretty-format': 4.1.6
|
||||||
'@vitest/runner': 4.1.6
|
'@vitest/runner': 4.1.6
|
||||||
'@vitest/snapshot': 4.1.6
|
'@vitest/snapshot': 4.1.6
|
||||||
@@ -13285,7 +13385,7 @@ snapshots:
|
|||||||
tinyexec: 1.1.1
|
tinyexec: 1.1.1
|
||||||
tinyglobby: 0.2.16
|
tinyglobby: 0.2.16
|
||||||
tinyrainbow: 3.1.0
|
tinyrainbow: 3.1.0
|
||||||
vite: 8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)(yaml@2.8.1)
|
vite: 8.0.11(@types/node@25.8.0)(esbuild@0.28.0)(jiti@2.7.0)(terser@5.46.1)(tsx@4.22.0)
|
||||||
why-is-node-running: 2.3.0
|
why-is-node-running: 2.3.0
|
||||||
optionalDependencies:
|
optionalDependencies:
|
||||||
'@types/node': 25.8.0
|
'@types/node': 25.8.0
|
||||||
@@ -13402,9 +13502,6 @@ snapshots:
|
|||||||
|
|
||||||
yaml@1.10.2: {}
|
yaml@1.10.2: {}
|
||||||
|
|
||||||
yaml@2.8.1:
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
yargs-parser@21.1.1: {}
|
yargs-parser@21.1.1: {}
|
||||||
|
|
||||||
yargs@17.7.2:
|
yargs@17.7.2:
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
packages:
|
packages:
|
||||||
- '**'
|
- '**'
|
||||||
|
allowBuilds:
|
||||||
|
'@parcel/watcher': true
|
||||||
|
'@prisma/engines': true
|
||||||
|
'@swc/core': true
|
||||||
|
esbuild: true
|
||||||
|
msw: true
|
||||||
|
prisma: true
|
||||||
|
sharp: true
|
||||||
ignoredBuiltDependencies:
|
ignoredBuiltDependencies:
|
||||||
- esbuild
|
- esbuild
|
||||||
- sharp
|
- sharp
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ export function WebsiteSelect({
|
|||||||
const { user } = useLoginQuery();
|
const { user } = useLoginQuery();
|
||||||
const { data, isLoading } = useUserWebsitesQuery(
|
const { data, isLoading } = useUserWebsitesQuery(
|
||||||
{ userId: user?.id, teamId },
|
{ userId: user?.id, teamId },
|
||||||
{ search, pageSize: 20, includeTeams },
|
{ search, pageSize: 100, includeTeams },
|
||||||
);
|
);
|
||||||
const listItems: { id: string; name: string }[] = data?.data || [];
|
const listItems: { id: string; name: string }[] = data?.data || [];
|
||||||
|
|
||||||
|
|||||||
@@ -262,6 +262,9 @@ export const DATETIME_REGEX =
|
|||||||
export const URL_LENGTH = 500;
|
export const URL_LENGTH = 500;
|
||||||
export const PAGE_TITLE_LENGTH = 500;
|
export const PAGE_TITLE_LENGTH = 500;
|
||||||
export const EVENT_NAME_LENGTH = 50;
|
export const EVENT_NAME_LENGTH = 50;
|
||||||
|
export const TAG_LENGTH = 50;
|
||||||
|
export const HOSTNAME_LENGTH = 100;
|
||||||
|
export const FIELD_VALUE_LENGTH = 255;
|
||||||
|
|
||||||
export const UTM_PARAMS = ['utm_campaign', 'utm_content', 'utm_medium', 'utm_source', 'utm_term'];
|
export const UTM_PARAMS = ['utm_campaign', 'utm_content', 'utm_medium', 'utm_source', 'utm_term'];
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
import clickhouse from '@/lib/clickhouse';
|
import clickhouse from '@/lib/clickhouse';
|
||||||
import { EVENT_NAME_LENGTH, PAGE_TITLE_LENGTH, URL_LENGTH } from '@/lib/constants';
|
import {
|
||||||
|
EVENT_NAME_LENGTH,
|
||||||
|
FIELD_VALUE_LENGTH,
|
||||||
|
HOSTNAME_LENGTH,
|
||||||
|
PAGE_TITLE_LENGTH,
|
||||||
|
TAG_LENGTH,
|
||||||
|
URL_LENGTH,
|
||||||
|
} from '@/lib/constants';
|
||||||
import { uuid } from '@/lib/crypto';
|
import { uuid } from '@/lib/crypto';
|
||||||
import { CLICKHOUSE, PRISMA, runQuery } from '@/lib/db';
|
import { CLICKHOUSE, PRISMA, runQuery } from '@/lib/db';
|
||||||
import kafka from '@/lib/kafka';
|
import kafka from '@/lib/kafka';
|
||||||
@@ -69,6 +76,10 @@ export async function saveEvent(args: SaveEventArgs) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function truncate(value: string | null | undefined, maxLength: number) {
|
||||||
|
return value ? value.substring(0, maxLength) : value;
|
||||||
|
}
|
||||||
|
|
||||||
async function relationalQuery({
|
async function relationalQuery({
|
||||||
websiteId,
|
websiteId,
|
||||||
sessionId,
|
sessionId,
|
||||||
@@ -110,27 +121,27 @@ async function relationalQuery({
|
|||||||
websiteId,
|
websiteId,
|
||||||
sessionId,
|
sessionId,
|
||||||
visitId,
|
visitId,
|
||||||
urlPath: urlPath?.substring(0, URL_LENGTH),
|
urlPath: truncate(urlPath, URL_LENGTH),
|
||||||
urlQuery: urlQuery?.substring(0, URL_LENGTH),
|
urlQuery: truncate(urlQuery, URL_LENGTH),
|
||||||
utmSource,
|
utmSource: truncate(utmSource, FIELD_VALUE_LENGTH),
|
||||||
utmMedium,
|
utmMedium: truncate(utmMedium, FIELD_VALUE_LENGTH),
|
||||||
utmCampaign,
|
utmCampaign: truncate(utmCampaign, FIELD_VALUE_LENGTH),
|
||||||
utmContent,
|
utmContent: truncate(utmContent, FIELD_VALUE_LENGTH),
|
||||||
utmTerm,
|
utmTerm: truncate(utmTerm, FIELD_VALUE_LENGTH),
|
||||||
referrerPath: referrerPath?.substring(0, URL_LENGTH),
|
referrerPath: truncate(referrerPath, URL_LENGTH),
|
||||||
referrerQuery: referrerQuery?.substring(0, URL_LENGTH),
|
referrerQuery: truncate(referrerQuery, URL_LENGTH),
|
||||||
referrerDomain: referrerDomain?.substring(0, URL_LENGTH),
|
referrerDomain: truncate(referrerDomain, URL_LENGTH),
|
||||||
pageTitle: pageTitle?.substring(0, PAGE_TITLE_LENGTH),
|
pageTitle: truncate(pageTitle, PAGE_TITLE_LENGTH),
|
||||||
gclid,
|
gclid: truncate(gclid, FIELD_VALUE_LENGTH),
|
||||||
fbclid,
|
fbclid: truncate(fbclid, FIELD_VALUE_LENGTH),
|
||||||
msclkid,
|
msclkid: truncate(msclkid, FIELD_VALUE_LENGTH),
|
||||||
ttclid,
|
ttclid: truncate(ttclid, FIELD_VALUE_LENGTH),
|
||||||
lifatid,
|
lifatid: truncate(lifatid, FIELD_VALUE_LENGTH),
|
||||||
twclid,
|
twclid: truncate(twclid, FIELD_VALUE_LENGTH),
|
||||||
eventType,
|
eventType,
|
||||||
eventName: eventName ? eventName?.substring(0, EVENT_NAME_LENGTH) : null,
|
eventName: truncate(eventName, EVENT_NAME_LENGTH) ?? null,
|
||||||
tag,
|
tag: truncate(tag, TAG_LENGTH),
|
||||||
hostname,
|
hostname: truncate(hostname, HOSTNAME_LENGTH),
|
||||||
lcp,
|
lcp,
|
||||||
inp,
|
inp,
|
||||||
cls,
|
cls,
|
||||||
@@ -145,8 +156,8 @@ async function relationalQuery({
|
|||||||
websiteId,
|
websiteId,
|
||||||
sessionId,
|
sessionId,
|
||||||
eventId: websiteEventId,
|
eventId: websiteEventId,
|
||||||
urlPath: urlPath?.substring(0, URL_LENGTH),
|
urlPath: truncate(urlPath, URL_LENGTH),
|
||||||
eventName: eventName?.substring(0, EVENT_NAME_LENGTH),
|
eventName: truncate(eventName, EVENT_NAME_LENGTH),
|
||||||
eventData,
|
eventData,
|
||||||
createdAt,
|
createdAt,
|
||||||
});
|
});
|
||||||
@@ -158,7 +169,7 @@ async function relationalQuery({
|
|||||||
websiteId,
|
websiteId,
|
||||||
sessionId,
|
sessionId,
|
||||||
eventId: websiteEventId,
|
eventId: websiteEventId,
|
||||||
eventName: eventName?.substring(0, EVENT_NAME_LENGTH),
|
eventName: truncate(eventName, EVENT_NAME_LENGTH),
|
||||||
currency,
|
currency,
|
||||||
revenue,
|
revenue,
|
||||||
createdAt,
|
createdAt,
|
||||||
@@ -221,26 +232,26 @@ async function clickhouseQuery({
|
|||||||
country: country,
|
country: country,
|
||||||
region: country && region ? (region.includes('-') ? region : `${country}-${region}`) : null,
|
region: country && region ? (region.includes('-') ? region : `${country}-${region}`) : null,
|
||||||
city: city,
|
city: city,
|
||||||
url_path: urlPath?.substring(0, URL_LENGTH),
|
url_path: truncate(urlPath, URL_LENGTH),
|
||||||
url_query: urlQuery?.substring(0, URL_LENGTH),
|
url_query: truncate(urlQuery, URL_LENGTH),
|
||||||
utm_source: utmSource,
|
utm_source: truncate(utmSource, FIELD_VALUE_LENGTH),
|
||||||
utm_medium: utmMedium,
|
utm_medium: truncate(utmMedium, FIELD_VALUE_LENGTH),
|
||||||
utm_campaign: utmCampaign,
|
utm_campaign: truncate(utmCampaign, FIELD_VALUE_LENGTH),
|
||||||
utm_content: utmContent,
|
utm_content: truncate(utmContent, FIELD_VALUE_LENGTH),
|
||||||
utm_term: utmTerm,
|
utm_term: truncate(utmTerm, FIELD_VALUE_LENGTH),
|
||||||
referrer_path: referrerPath?.substring(0, URL_LENGTH),
|
referrer_path: truncate(referrerPath, URL_LENGTH),
|
||||||
referrer_query: referrerQuery?.substring(0, URL_LENGTH),
|
referrer_query: truncate(referrerQuery, URL_LENGTH),
|
||||||
referrer_domain: referrerDomain?.substring(0, URL_LENGTH),
|
referrer_domain: truncate(referrerDomain, URL_LENGTH),
|
||||||
page_title: pageTitle?.substring(0, PAGE_TITLE_LENGTH),
|
page_title: truncate(pageTitle, PAGE_TITLE_LENGTH),
|
||||||
gclid: gclid,
|
gclid: truncate(gclid, FIELD_VALUE_LENGTH),
|
||||||
fbclid: fbclid,
|
fbclid: truncate(fbclid, FIELD_VALUE_LENGTH),
|
||||||
msclkid: msclkid,
|
msclkid: truncate(msclkid, FIELD_VALUE_LENGTH),
|
||||||
ttclid: ttclid,
|
ttclid: truncate(ttclid, FIELD_VALUE_LENGTH),
|
||||||
li_fat_id: lifatid,
|
li_fat_id: truncate(lifatid, FIELD_VALUE_LENGTH),
|
||||||
twclid: twclid,
|
twclid: truncate(twclid, FIELD_VALUE_LENGTH),
|
||||||
event_type: eventType,
|
event_type: eventType,
|
||||||
event_name: eventName ? eventName?.substring(0, EVENT_NAME_LENGTH) : null,
|
event_name: truncate(eventName, EVENT_NAME_LENGTH) ?? null,
|
||||||
tag: tag,
|
tag: truncate(tag, TAG_LENGTH),
|
||||||
distinct_id: distinctId,
|
distinct_id: distinctId,
|
||||||
created_at: getUTCString(createdAt),
|
created_at: getUTCString(createdAt),
|
||||||
browser: browser,
|
browser: browser,
|
||||||
@@ -248,7 +259,7 @@ async function clickhouseQuery({
|
|||||||
device: device,
|
device: device,
|
||||||
screen: screen,
|
screen: screen,
|
||||||
language: language,
|
language: language,
|
||||||
hostname: hostname,
|
hostname: truncate(hostname, HOSTNAME_LENGTH),
|
||||||
lcp: lcp,
|
lcp: lcp,
|
||||||
inp: inp,
|
inp: inp,
|
||||||
cls: cls,
|
cls: cls,
|
||||||
@@ -267,8 +278,8 @@ async function clickhouseQuery({
|
|||||||
websiteId,
|
websiteId,
|
||||||
sessionId,
|
sessionId,
|
||||||
eventId,
|
eventId,
|
||||||
urlPath: urlPath?.substring(0, URL_LENGTH),
|
urlPath: truncate(urlPath, URL_LENGTH),
|
||||||
eventName: eventName?.substring(0, EVENT_NAME_LENGTH),
|
eventName: truncate(eventName, EVENT_NAME_LENGTH),
|
||||||
eventData,
|
eventData,
|
||||||
createdAt,
|
createdAt,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user