Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Downgrade TypeScript to 6.0.3

Mike Caof054830292d5
diff --git a/package.json b/package.json
index a5171f9ce..1a47f5e70 100644
--- a/package.json
+++ b/package.json
@@ -145,7 +145,7 @@
"tar": "^7.5.22",
"tsup": "^8.5.0",
"tsx": "^4.23.1",
- "typescript": "^7.0.2",
+ "typescript": "^6.0.3",
"vitest": "^4.1.10"
}
}
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 43e9aec5a..46d5dfbc4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -25,13 +25,13 @@ importers:
version: 7.9.1
'@prisma/client':
specifier: ^7.9.1
'@prisma/extension-read-replicas':
specifier: ^0.5.0
'@svgr/cli':
specifier: ^8.1.0
- version: 8.1.0([email protected])
+ version: 8.1.0([email protected])
'@tanstack/react-query':
specifier: ^5.101.4
version: 5.101.4([email protected])
@@ -115,7 +115,7 @@ importers:
next-intl:
specifier: 4.13.4
node-fetch:
specifier: ^3.2.8
version: 3.3.2
@@ -130,7 +130,7 @@ importers:
version: 5.5.4
prisma:
specifier: ^7.9.1
prop-types:
specifier: ^15.8.1
version: 15.8.1
@@ -212,7 +212,7 @@ importers:
version: 1.0.0([email protected])
'@rollup/plugin-typescript':
specifier: ^12.3.0
'@testing-library/jest-dom':
specifier: ^7.0.0
version: 7.0.0(@testing-library/[email protected])
@@ -248,7 +248,7 @@ importers:
version: 30.0.0(@noble/[email protected])
msw:
specifier: ^2.15.0
- version: 2.15.0(@types/[email protected])([email protected])
+ version: 2.15.0(@types/[email protected])([email protected])
postcss:
specifier: ^8.5.23
version: 8.5.23
@@ -266,16 +266,16 @@ importers:
version: 7.5.22
tsup:
specifier: ^8.5.0
tsx:
specifier: ^4.23.1
version: 4.23.1
typescript:
- specifier: ^7.0.2
- version: 7.0.2
+ specifier: ^6.0.3
+ version: 6.0.3
vitest:
specifier: ^4.1.10
packages:
@@ -2722,126 +2722,6 @@ packages:
resolution: {integrity: sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==}
- '@typescript/[email protected]':
- resolution: {integrity: sha512-MTKKkWB7p/0E9xi1d1tHtZ5PiLkGEMIq88pK2CubZjOsLtYTLqhgIgi6zepFa+9GHZ6h05NMCkQxGKiPXMxXtQ==}
- engines: {node: '>=16.20.0'}
- cpu: [ppc64]
- os: [aix]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-gowzar9MwS/aRWp6f3a4KUqzRjAZjOsmGNCM6LcTgXum+dBfgsBVMN+AgvOCCbguXyick6LJhpBszxMebJ8syA==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [darwin]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-SZ9xZInqApNlNGc9s0W1VSsktYSOe9cFqNOIqmN1Gs8SmkjKZYFt017G4VwPxASInODuAdbTW7sXiFUf893RgA==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [darwin]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-W5NH4y/J0plIIS5b2xvTEkU7JFxyqdMAOgf+Ilhl0vHQXKO5dZoxd+C/jEtq56c4F3wk71RB4BMRQ2XdI+bwYQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [freebsd]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-UMGDx5sTpzNw3WiPebH7l90IWfJggEd+egHt/q6p7/Cm3zqoV7VxkGXt+3DxPIw8CcmvAB0j3sVVfbhX+M4Tpw==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [freebsd]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-Qh4eU4/y3yDjnfjjyPYihMj5/ODIlmt+Bzu17OI+fiSRDW57QmU5SiN63exPRNJPKUzcc1INa1NXdrJ+MqHjUQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-gffT3xPz9sR7j/YJExkyPntrI0P2EP9XbOyWzth2/Gs0RstK+90RBcO0ncXoXy/beYll1SXw846Nf2zdnEz0QQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-uEHck9i8hoAzXPiYRib1O7miOnz23SxIeVl6F4LXox+qov1K35jHcEW6VHKvZI+pyvl7fZEP4MCU5LYvIq1GuQ==}
- engines: {node: '>=16.20.0'}
- cpu: [loong64]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-R4KvAMnE43W5Qeqb0Ly56O3mWMWIAgsMyz36DCaycd5nbg/9kzm0liw3JocfRqyJY0KPmzFjbswozXyW0DnIYA==}
- engines: {node: '>=16.20.0'}
- cpu: [mips64el]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-DORx5b3sd/4S7eayxm4FQv+A7CrkUIGRaHiwI8oiHTAI1fAPWhF4J0vAlkC8biAlHSVVwxMQ3tjZ2/DVbnQiiA==}
- engines: {node: '>=16.20.0'}
- cpu: [ppc64]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-wf0jqEDOjrPRnKwYRyyJDRo11KMbvMFrU+q4zqKyChODBzvlkbhNQfKvLxQCcwTpdDaXSHZTVuh0JoCrKCUMHQ==}
- engines: {node: '>=16.20.0'}
- cpu: [riscv64]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-IkwJc3L7yhytWd/ewjyxNDfOmswCm9GWMJT/ue/dU4aZNbwZeYAetq42VyLmsmSjvoX7z74X6ZaYCtzAr0EuGw==}
- engines: {node: '>=16.20.0'}
- cpu: [s390x]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-EYdf2cNg7rgCWJnxCdJ+F3V39O8ihb37eHAu1LK8oAFizgTQbPOK7zHHXbPt8rX24COqODXeI3sIf0fCXG7H/A==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [linux]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-+polYF4MF04aPpO5FTkHran9yUQDSXqy5GiSDKpsll5jy3l3+g9QLhpf39T+ePtefhXLOGrLl0QIjkQP6VnelA==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [netbsd]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-8YIT0EHM/3dq10ZOVF/A7pc/YSMtbcecct4rWtexrnSCHOPcpC2KTLXfTCR6vDpnSiY12heNb1GiN/wu+T/FyA==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [netbsd]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-APT8+ClYnuYm1u9+kgGXoMj2VzWzcymwh2gNSQVySHfkRDGOTVkoWLjCmOQSaO+PoqQ57B0flRp9SA+7GnnkzQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [openbsd]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-yX7s+Q0Dln0Dt9tEzZsAjXXR/+ytBM7AlglaqyeMPxQszJ1JhlJdZ6jLA+IzldHtflX81em7lDao1xXu+aRRkg==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [openbsd]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-dLJDGaLZ1D4HPQn62u1n8mBDkJREwMsAkCdkwd4Ieqw+x3TUyTsqY0YiBCtE6H6OzzgGk3iuZ3vFWRS+E8/d1g==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [sunos]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-Gyl1Vy6OsWesLzmq+EP0Fb7b4Nid5232AvcA2SFcdYreldpNtYFFofPjnt62y9hQy7VTaZp65ICJjuAQRaVcIQ==}
- engines: {node: '>=16.20.0'}
- cpu: [arm64]
- os: [win32]
-
- '@typescript/[email protected]':
- resolution: {integrity: sha512-0BQ3HkAHHlKLSp1qRvf3SUhGpGsDuhB/jgFw75guyqbxJqEaS0Cw/VFO8i2nHglJUzQCRtMMR/IBAKE3ETMC4g==}
- engines: {node: '>=16.20.0'}
- cpu: [x64]
- os: [win32]
-
resolution: {integrity: sha512-UApl8fDJM6VDaDOc8I67sdClzLpp4e9eJB3ntf6rlUgvdllf5T+hdYiHJ98T/tDFfhZWBKuLhnVDX/qNfjlrSw==}
peerDependencies:
@@ -5525,9 +5405,9 @@ packages:
resolution: {integrity: sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==}
engines: {node: '>= 0.4'}
- resolution: {integrity: sha512-8FYau96o3NKOhbjKi/qNvG/W5jhzxkbdm5sj9AbZ/5T5sWqn3hJgLfGx27sRKZWTvyzCP8dLRBTf5tBTSRVUNA==}
- engines: {node: '>=16.20.0'}
+ resolution: {integrity: sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==}
+ engines: {node: '>=14.17'}
hasBin: true
@@ -7164,12 +7044,12 @@ snapshots:
'@prisma/[email protected]': {}
dependencies:
'@prisma/client-runtime-utils': 7.9.1
optionalDependencies:
- typescript: 7.0.2
+ typescript: 6.0.3
'@prisma/[email protected]':
dependencies:
@@ -7184,7 +7064,7 @@ snapshots:
'@prisma/[email protected]': {}
dependencies:
'@electric-sql/pglite': 0.4.3
'@electric-sql/pglite-socket': 0.1.3(@electric-sql/[email protected])
@@ -7199,7 +7079,7 @@ snapshots:
proper-lockfile: 4.1.2
remeda: 2.33.4
std-env: 3.10.0
- valibot: 1.4.2([email protected])
+ valibot: 1.4.2([email protected])
zeptomatch: 2.1.0
transitivePeerDependencies:
- typescript
@@ -7217,9 +7097,9 @@ snapshots:
'@prisma/fetch-engine': 7.9.1
'@prisma/get-platform': 7.9.1
dependencies:
'@prisma/[email protected]':
dependencies:
@@ -7470,11 +7350,11 @@ snapshots:
optionalDependencies:
rollup: 4.62.3
dependencies:
'@rollup/pluginutils': 5.2.0([email protected])
resolve: 1.22.10
- typescript: 7.0.2
+ typescript: 6.0.3
optionalDependencies:
rollup: 4.62.3
tslib: 2.8.1
@@ -7636,12 +7516,12 @@ snapshots:
'@svgr/babel-plugin-transform-react-native-svg': 8.1.0(@babel/[email protected])
'@svgr/babel-plugin-transform-svg-component': 8.0.0(@babel/[email protected])
dependencies:
- '@svgr/core': 8.1.0([email protected])
- '@svgr/plugin-jsx': 8.1.0(@svgr/[email protected]([email protected]))
- '@svgr/plugin-prettier': 8.1.0(@svgr/[email protected]([email protected]))
- '@svgr/plugin-svgo': 8.1.0(@svgr/[email protected]([email protected]))([email protected])
+ '@svgr/core': 8.1.0([email protected])
+ '@svgr/plugin-jsx': 8.1.0(@svgr/[email protected]([email protected]))
+ '@svgr/plugin-prettier': 8.1.0(@svgr/[email protected]([email protected]))
+ '@svgr/plugin-svgo': 8.1.0(@svgr/[email protected]([email protected]))([email protected])
camelcase: 6.3.0
chalk: 4.1.2
commander: 9.5.0
@@ -7652,12 +7532,12 @@ snapshots:
- supports-color
- typescript
dependencies:
'@babel/core': 7.28.3
'@svgr/babel-preset': 8.1.0(@babel/[email protected])
camelcase: 6.3.0
- cosmiconfig: 8.3.6([email protected])
+ cosmiconfig: 8.3.6([email protected])
snake-case: 3.0.4
transitivePeerDependencies:
- supports-color
@@ -7668,26 +7548,26 @@ snapshots:
'@babel/types': 7.28.2
entities: 4.5.0
dependencies:
'@babel/core': 7.28.3
'@svgr/babel-preset': 8.1.0(@babel/[email protected])
- '@svgr/core': 8.1.0([email protected])
+ '@svgr/core': 8.1.0([email protected])
'@svgr/hast-util-to-babel-ast': 8.0.0
svg-parser: 2.0.4
transitivePeerDependencies:
- supports-color
dependencies:
- '@svgr/core': 8.1.0([email protected])
+ '@svgr/core': 8.1.0([email protected])
deepmerge: 4.3.1
prettier: 2.8.8
dependencies:
- '@svgr/core': 8.1.0([email protected])
- cosmiconfig: 8.3.6([email protected])
+ '@svgr/core': 8.1.0([email protected])
+ cosmiconfig: 8.3.6([email protected])
deepmerge: 4.3.1
svgo: 3.3.2
transitivePeerDependencies:
@@ -7917,66 +7797,6 @@ snapshots:
dependencies:
'@types/yargs-parser': 21.0.3
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
- '@typescript/[email protected]':
- optional: true
-
dependencies:
'@internationalized/date': 3.12.2
@@ -8083,13 +7903,13 @@ snapshots:
chai: 6.2.2
tinyrainbow: 3.1.0
dependencies:
'@vitest/spy': 4.1.10
estree-walker: 3.0.3
magic-string: 0.30.21
optionalDependencies:
- msw: 2.15.0(@types/[email protected])([email protected])
+ msw: 2.15.0(@types/[email protected])([email protected])
'@vitest/[email protected]':
@@ -8389,14 +8209,14 @@ snapshots:
dependencies:
import-fresh: 3.3.1
js-yaml: 4.1.0
parse-json: 5.2.0
path-type: 4.0.0
optionalDependencies:
- typescript: 7.0.2
+ typescript: 6.0.3
dependencies:
@@ -9579,7 +9399,7 @@ snapshots:
dependencies:
'@inquirer/confirm': 6.0.12(@types/[email protected])
'@mswjs/interceptors': 0.41.8
@@ -9600,7 +9420,7 @@ snapshots:
until-async: 3.0.2
yargs: 17.7.2
optionalDependencies:
- typescript: 7.0.2
+ typescript: 6.0.3
transitivePeerDependencies:
- '@types/node'
@@ -9634,7 +9454,7 @@ snapshots:
dependencies:
'@formatjs/intl-localematcher': 0.8.13
'@parcel/watcher': 2.6.0
@@ -9647,7 +9467,7 @@ snapshots:
react: 19.2.8
use-intl: 4.13.4([email protected])
optionalDependencies:
- typescript: 7.0.2
+ typescript: 6.0.3
transitivePeerDependencies:
- '@swc/helpers'
@@ -10183,16 +10003,16 @@ snapshots:
react-is-18: [email protected]
react-is-19: [email protected]
dependencies:
'@prisma/config': 7.9.1
- '@prisma/dev': 0.24.17([email protected])
+ '@prisma/dev': 0.24.17([email protected])
'@prisma/engines': 7.9.1
mysql2: 3.15.3
postgres: 3.4.7
optionalDependencies:
- typescript: 7.0.2
+ typescript: 6.0.3
transitivePeerDependencies:
- '@types/react'
- '@types/react-dom'
@@ -10880,7 +10700,7 @@ snapshots:
dependencies:
bundle-require: 5.1.0([email protected])
cac: 6.7.14
@@ -10902,7 +10722,7 @@ snapshots:
optionalDependencies:
'@swc/core': 1.15.46(@swc/[email protected])
postcss: 8.5.23
- typescript: 7.0.2
+ typescript: 6.0.3
transitivePeerDependencies:
- jiti
- supports-color
@@ -10952,28 +10772,7 @@ snapshots:
possible-typed-array-names: 1.1.0
reflect.getprototypeof: 1.0.10
- optionalDependencies:
- '@typescript/typescript-aix-ppc64': 7.0.2
- '@typescript/typescript-darwin-arm64': 7.0.2
- '@typescript/typescript-darwin-x64': 7.0.2
- '@typescript/typescript-freebsd-arm64': 7.0.2
- '@typescript/typescript-freebsd-x64': 7.0.2
- '@typescript/typescript-linux-arm': 7.0.2
- '@typescript/typescript-linux-arm64': 7.0.2
- '@typescript/typescript-linux-loong64': 7.0.2
- '@typescript/typescript-linux-mips64el': 7.0.2
- '@typescript/typescript-linux-ppc64': 7.0.2
- '@typescript/typescript-linux-riscv64': 7.0.2
- '@typescript/typescript-linux-s390x': 7.0.2
- '@typescript/typescript-linux-x64': 7.0.2
- '@typescript/typescript-netbsd-arm64': 7.0.2
- '@typescript/typescript-netbsd-x64': 7.0.2
- '@typescript/typescript-openbsd-arm64': 7.0.2
- '@typescript/typescript-openbsd-x64': 7.0.2
- '@typescript/typescript-sunos-x64': 7.0.2
- '@typescript/typescript-win32-arm64': 7.0.2
- '@typescript/typescript-win32-x64': 7.0.2
@@ -11026,9 +10825,9 @@ snapshots:
optionalDependencies:
- typescript: 7.0.2
+ typescript: 6.0.3
dependencies:
@@ -11050,10 +10849,10 @@ snapshots:
terser: 5.46.1
tsx: 4.23.1
dependencies:
'@vitest/expect': 4.1.10
'@vitest/pretty-format': 4.1.10
'@vitest/runner': 4.1.10
'@vitest/snapshot': 4.1.10