mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
Update all non-major dependencies (#12468)
* Update all non-major dependencies * Update posthog user state access Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
3ca79968d3
commit
dafd9c23b8
4 changed files with 16 additions and 16 deletions
|
@ -116,7 +116,7 @@
|
|||
"opus-recorder": "^8.0.3",
|
||||
"pako": "^2.0.3",
|
||||
"png-chunks-extract": "^1.0.0",
|
||||
"posthog-js": "1.126.0",
|
||||
"posthog-js": "1.130.0",
|
||||
"proposal-temporal": "^0.9.0",
|
||||
"qrcode": "1.5.3",
|
||||
"re-resizable": "^6.9.0",
|
||||
|
|
|
@ -313,7 +313,7 @@ export class PosthogAnalytics {
|
|||
// No point identifying again
|
||||
return;
|
||||
}
|
||||
if (this.posthog.persistence?.get_user_state() === "identified") {
|
||||
if (this.posthog.persistence?.get_property("$user_state") === "identified") {
|
||||
// Analytics ID has changed, reset as Posthog will refuse to merge in this case
|
||||
this.posthog.reset();
|
||||
}
|
||||
|
|
|
@ -36,7 +36,7 @@ const getFakePosthog = (): PostHog =>
|
|||
register: jest.fn(),
|
||||
get_distinct_id: jest.fn(),
|
||||
persistence: {
|
||||
get_user_state: jest.fn(),
|
||||
get_property: jest.fn(),
|
||||
},
|
||||
identifyUser: jest.fn(),
|
||||
}) as unknown as PostHog;
|
||||
|
|
26
yarn.lock
26
yarn.lock
|
@ -4901,9 +4901,9 @@ eslint-plugin-import@^2.25.4:
|
|||
tsconfig-paths "^3.15.0"
|
||||
|
||||
eslint-plugin-jest@^28.0.0:
|
||||
version "28.2.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-28.2.0.tgz#863e2b2bda95eb41981ba9bcf4c44f57dce40a73"
|
||||
integrity sha512-yRDti/a+f+SMSmNTiT9/M/MzXGkitl8CfzUxnpoQcTyfq8gUrXMriVcWU36W1X6BZSUoyUCJrDAWWUA2N4hE5g==
|
||||
version "28.3.0"
|
||||
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-28.3.0.tgz#d52dea5e4f191fde061cbf1cea44c8a0a23e62ec"
|
||||
integrity sha512-5LjCSSno8E+IUCOX4hJiIb/upPIgpkaDEcaN/40gOcw26t/5UTLHFc4JdxKjOOvGTh0XdCu+fNr0fpOVNvcxMA==
|
||||
dependencies:
|
||||
"@typescript-eslint/utils" "^6.0.0"
|
||||
|
||||
|
@ -7775,10 +7775,10 @@ postcss@^8.4.38:
|
|||
picocolors "^1.0.0"
|
||||
source-map-js "^1.2.0"
|
||||
|
||||
posthog-js@1.126.0:
|
||||
version "1.126.0"
|
||||
resolved "https://registry.yarnpkg.com/posthog-js/-/posthog-js-1.126.0.tgz#52ca294505d3ddc3ba34aeaafe388676113ff82f"
|
||||
integrity sha512-8qCdPE9RZkyXI3kKCnkXWxK0jn2mLZg6g5a6KezDPqH7mHTG66v7ANU31hcwzQGV5F5UW1GXw0xL0PaC3HkA6g==
|
||||
posthog-js@1.130.0:
|
||||
version "1.130.0"
|
||||
resolved "https://registry.yarnpkg.com/posthog-js/-/posthog-js-1.130.0.tgz#41309b487b05a0bcdff6f0b4f5e2743fe80bfdb0"
|
||||
integrity sha512-bCrw5HunoXLybO20Q1bYEg68i5WCZWKxhStYJK4OR/9jrm7GwZ53GDrN78p8apFi0EH5ay4YZGbLFSkg+SsZWQ==
|
||||
dependencies:
|
||||
fflate "^0.4.8"
|
||||
preact "^10.19.3"
|
||||
|
@ -7967,9 +7967,9 @@ raw-loader@^4.0.2:
|
|||
schema-utils "^3.0.0"
|
||||
|
||||
re-resizable@^6.9.0:
|
||||
version "6.9.11"
|
||||
resolved "https://registry.yarnpkg.com/re-resizable/-/re-resizable-6.9.11.tgz#f356e27877f12d926d076ab9ad9ff0b95912b475"
|
||||
integrity sha512-a3hiLWck/NkmyLvGWUuvkAmN1VhwAz4yOhS6FdMTaxCUVN9joIWkT11wsO68coG/iEYuwn+p/7qAmfQzRhiPLQ==
|
||||
version "6.9.16"
|
||||
resolved "https://registry.yarnpkg.com/re-resizable/-/re-resizable-6.9.16.tgz#d040a3ba9ccb25a3cc85b7622d4eafdee48cf2c2"
|
||||
integrity sha512-D9+ofwgPQRC6PL6cwavCZO9MUR8TKKxV1nHjbutSdNaFHK9v5k8m6DcESMXrw1+mRJn7fBHJRhZpa7EQ1ZWEEA==
|
||||
|
||||
react-beautiful-dnd@^13.1.0:
|
||||
version "13.1.1"
|
||||
|
@ -8013,9 +8013,9 @@ react-error-boundary@^3.1.0:
|
|||
"@babel/runtime" "^7.12.5"
|
||||
|
||||
react-focus-lock@^2.5.1:
|
||||
version "2.11.3"
|
||||
resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.11.3.tgz#a7c98b4ab11fd270d78f90a7c9a9e69352c2af6d"
|
||||
integrity sha512-CfWYS86y6KvAIGxYzO1/HlWI2zGON9Fa3L2xfREDGMNFAtYj3m/ZRvnsMH4H75dj5FpgDy2LWA1Vyx+twV80vw==
|
||||
version "2.12.1"
|
||||
resolved "https://registry.yarnpkg.com/react-focus-lock/-/react-focus-lock-2.12.1.tgz#0eaefd5fc34de8998967043d902e426352393349"
|
||||
integrity sha512-lfp8Dve4yJagkHiFrC1bGtib3mF2ktqwPJw4/WGcgPW+pJ/AVQA5X2vI7xgp13FcxFEpYBBHpXai/N2DBNC0Jw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.0.0"
|
||||
focus-lock "^1.3.5"
|
||||
|
|
Loading…
Reference in a new issue