You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Upgrade dependencies (#8749)
* [create-pull-request] automated change * Remove conflicting HTMLStyleElement type improvement * Pin postcss-hexrgba as 2.1.0 needs postcss 8 * Bump typescript version * Add missing crypto stub Co-authored-by: t3chguy <t3chguy@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -200,7 +200,7 @@
|
|||||||
"stylelint": "^13.9.0",
|
"stylelint": "^13.9.0",
|
||||||
"stylelint-config-standard": "^20.0.0",
|
"stylelint-config-standard": "^20.0.0",
|
||||||
"stylelint-scss": "^3.18.0",
|
"stylelint-scss": "^3.18.0",
|
||||||
"typescript": "4.5.3",
|
"typescript": "^4.7.4",
|
||||||
"walk": "^2.3.14"
|
"walk": "^2.3.14"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
|
4
src/@types/global.d.ts
vendored
4
src/@types/global.d.ts
vendored
@ -173,10 +173,6 @@ declare global {
|
|||||||
setSinkId(outputId: string): void;
|
setSinkId(outputId: string): void;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface HTMLStyleElement {
|
|
||||||
disabled?: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add Chrome-specific `instant` ScrollBehaviour
|
// Add Chrome-specific `instant` ScrollBehaviour
|
||||||
type _ScrollBehavior = ScrollBehavior | "instant";
|
type _ScrollBehavior = ScrollBehavior | "instant";
|
||||||
|
|
||||||
|
@ -76,6 +76,7 @@ describe('MegolmExportEncryption', function() {
|
|||||||
window.crypto = {
|
window.crypto = {
|
||||||
subtle: webCrypto.subtle,
|
subtle: webCrypto.subtle,
|
||||||
getRandomValues,
|
getRandomValues,
|
||||||
|
randomUUID: jest.fn().mockReturnValue("not-random-uuid"),
|
||||||
};
|
};
|
||||||
MegolmExportEncryption = require("../../src/utils/MegolmExportEncryption");
|
MegolmExportEncryption = require("../../src/utils/MegolmExportEncryption");
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user