Updated matrix-js-sdk to v12.4.1 (Security fix)

This commit is contained in:
Ajay Bura 2021-09-13 17:32:32 +05:30
parent b5dfc337ec
commit 8939927543
4 changed files with 7 additions and 7 deletions

8
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "cinny",
"version": "1.1.0",
"version": "1.2.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -7951,9 +7951,9 @@
}
},
"matrix-js-sdk": {
"version": "12.2.0",
"resolved": "https://registry.npmjs.org/matrix-js-sdk/-/matrix-js-sdk-12.2.0.tgz",
"integrity": "sha512-foSs3uKRc6uvFNhgY35eErBvLWVDd5RNIxxsdFKlmU3B+70YUf3BP3petyBNW34ORyOqNdX36IiApfLo3npNEw==",
"version": "12.4.1",
"resolved": "https://registry.npmjs.org/matrix-js-sdk/-/matrix-js-sdk-12.4.1.tgz",
"integrity": "sha512-C9aSGX9e4GoCm0Rli+iGBXmcnRxnwETw7MvgNcSBfPaLHOMZi/wz4YOV7HEZK8R+OXuDrDYyglncWSJkkoDpAQ==",
"requires": {
"@babel/runtime": "^7.12.5",
"another-json": "^0.2.0",

View file

@ -24,7 +24,7 @@
"flux": "^4.0.1",
"html-react-parser": "^1.2.7",
"linkifyjs": "^3.0.0-beta.3",
"matrix-js-sdk": "^12.2.0",
"matrix-js-sdk": "^12.4.1",
"micromark": "^3.0.3",
"micromark-extension-gfm": "^1.0.0",
"prop-types": "^15.7.2",

View file

@ -20,7 +20,7 @@ function DrawerHeader({ activeTab }) {
<TitleWrapper>
<Text variant="s1">{(activeTab === 'home' ? 'Home' : 'Direct messages')}</Text>
</TitleWrapper>
{(activeTab === 'dm')
{(activeTab === 'dms')
? <IconButton onClick={() => openInviteUser()} tooltip="Start DM" src={PlusIC} size="normal" />
: (
<ContextMenu

View file

@ -88,7 +88,7 @@ function AboutSection() {
<div>
<Text variant="h2">
Cinny
<span className="text text-b3" style={{ margin: '0 var(--sp-extra-tight)' }}>v1.2.0</span>
<span className="text text-b3" style={{ margin: '0 var(--sp-extra-tight)' }}>v1.2.1</span>
</Text>
<Text>Yet another matrix client</Text>