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>pull/28788/head^2
parent
f5f79158ed
commit
7b7181be18
|
@ -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": {
|
||||||
|
|
|
@ -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");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue