From e396dcfb102c8182766f2de0d674e63b5ee9712e Mon Sep 17 00:00:00 2001 From: Jaiwanth Date: Tue, 10 Aug 2021 13:22:40 +0530 Subject: [PATCH] Remove @types/streamsaver --- package.json | 1 - .../views/elements/EventListSummary.tsx | 1 - test/utils/export-test.tsx | 2 +- yarn.lock | 15 +++++---------- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 8f927c7bca..6927fd627d 100644 --- a/package.json +++ b/package.json @@ -147,7 +147,6 @@ "@types/react-dom": "^17.0.2", "@types/react-transition-group": "^4.4.0", "@types/sanitize-html": "^2.3.1", - "@types/streamsaver": "^2.0.1", "@types/zxcvbn": "^4.4.0", "@typescript-eslint/eslint-plugin": "^4.17.0", "@typescript-eslint/parser": "^4.17.0", diff --git a/src/components/views/elements/EventListSummary.tsx b/src/components/views/elements/EventListSummary.tsx index c5630f8346..cbb0e17b42 100644 --- a/src/components/views/elements/EventListSummary.tsx +++ b/src/components/views/elements/EventListSummary.tsx @@ -81,7 +81,6 @@ const EventListSummary: React.FC = ({ ; } else { const avatars = summaryMembers.map((m) => ); - body = (
diff --git a/test/utils/export-test.tsx b/test/utils/export-test.tsx index e3811ea957..437dcbbd60 100644 --- a/test/utils/export-test.tsx +++ b/test/utils/export-test.tsx @@ -231,7 +231,7 @@ describe('export', function() { } }); - it("checks if the render to string doesn't throw any error for different kinds of strings", function() { + it("checks if the render to string doesn't throw any error for different types of events", function() { const exporter = new HTMLExporter(mockRoom, ExportTypes.BEGINNING, mockExportOptions, null); for (const event of events) { expect(renderToString(exporter.getEventTile(event, false))).toBeTruthy(); diff --git a/yarn.lock b/yarn.lock index 348f120f18..6f24e45f81 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1785,11 +1785,6 @@ resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== -"@types/streamsaver@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@types/streamsaver/-/streamsaver-2.0.1.tgz#fa5e5b891d1b282be3078c232a30ee004b8e0be0" - integrity sha512-I49NtT8w6syBI3Zg3ixCyygTHoTVMY0z2TMRcTgccdIsVd2MwlKk7ITLHLsJtgchUHcOd7QEARG9h0ifcA6l2Q== - "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": version "2.0.6" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" @@ -2348,16 +2343,16 @@ bcrypt-pbkdf@^1.0.0: dependencies: tweetnacl "^0.14.3" -big.js@^5.2.2: - version "5.2.2" - resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" - integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== - before-after-hook@^2.2.0: version "2.2.2" resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.2.tgz#a6e8ca41028d90ee2c24222f201c90956091613e" integrity sha512-3pZEU3NT5BFUo/AD5ERPWOgQOCZITni6iavr5AUw5AUwQjMlI0kzu5btnyD39AF0gUEsDPwJT+oY1ORBJijPjQ== +big.js@^5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" + integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== + binary-extensions@^1.0.0: version "1.13.1" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-1.13.1.tgz#598afe54755b2868a5330d2aff9d4ebb53209b65"