1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-07-31 15:24:23 +03:00

Update dependency typescript to v5 (#3262)

* Update dependency typescript to v5

* Update dependency typescript to v5

* Iterate

---------

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:
renovate[bot]
2023-04-06 09:54:02 +00:00
committed by GitHub
parent 170a52b09f
commit a57ee803f1
4 changed files with 8 additions and 6 deletions

View File

@ -125,7 +125,7 @@
"tsify": "^5.0.2", "tsify": "^5.0.2",
"typedoc": "^0.23.20", "typedoc": "^0.23.20",
"typedoc-plugin-missing-exports": "^1.0.0", "typedoc-plugin-missing-exports": "^1.0.0",
"typescript": "^4.5.3" "typescript": "^5.0.0"
}, },
"jest": { "jest": {
"testEnvironment": "node", "testEnvironment": "node",

View File

@ -16,7 +16,7 @@ limitations under the License.
import DOMException from "domexception"; import DOMException from "domexception";
global.DOMException = DOMException; global.DOMException = DOMException as typeof global.DOMException;
jest.mock("../src/http-api/utils", () => ({ jest.mock("../src/http-api/utils", () => ({
...jest.requireActual("../src/http-api/utils"), ...jest.requireActual("../src/http-api/utils"),

View File

@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
import DOMException from "domexception";
import { mocked } from "jest-mock"; import { mocked } from "jest-mock";
import { ClientPrefix, MatrixHttpApi, Method, UploadResponse } from "../../../src"; import { ClientPrefix, MatrixHttpApi, Method, UploadResponse } from "../../../src";
@ -33,8 +32,6 @@ describe("MatrixHttpApi", () => {
const DONE = 0; const DONE = 0;
global.DOMException = DOMException;
beforeEach(() => { beforeEach(() => {
xhr = { xhr = {
upload: {} as XMLHttpRequestUpload, upload: {} as XMLHttpRequestUpload,

View File

@ -7332,11 +7332,16 @@ typescript@^3.2.2:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.10.tgz#70f3910ac7a51ed6bef79da7800690b19bf778b8"
integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q== integrity sha512-w6fIxVE/H1PkLKcCPsFqKE7Kv7QUwhU8qQY2MueZXWx5cPZdwFupLgKK3vntcK98BtNHZtAF4LA/yl2a7k8R6Q==
typescript@^4.5.3, typescript@^4.5.4: typescript@^4.5.4:
version "4.9.5" version "4.9.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
typescript@^5.0.0:
version "5.0.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.3.tgz#fe976f0c826a88d0a382007681cbb2da44afdedf"
integrity sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==
typeson-registry@^1.0.0-alpha.20: typeson-registry@^1.0.0-alpha.20:
version "1.0.0-alpha.39" version "1.0.0-alpha.39"
resolved "https://registry.yarnpkg.com/typeson-registry/-/typeson-registry-1.0.0-alpha.39.tgz#9e0f5aabd5eebfcffd65a796487541196f4b1211" resolved "https://registry.yarnpkg.com/typeson-registry/-/typeson-registry-1.0.0-alpha.39.tgz#9e0f5aabd5eebfcffd65a796487541196f4b1211"