Virtual whiteboard for sketching hand-drawn like diagrams
chore: bump typescript @ 4.9.4 (#6024)
David Luzar9086674b271d
diff --git a/package.json b/package.jsonindex bf9414c447..2923ddd54c 100644--- a/package.json+++ b/package.json@@ -55,7 +55,7 @@"roughjs": "4.5.2","sass": "1.51.0","socket.io-client": "2.3.1",- "typescript": "4.5.5",+ "typescript": "4.9.4","workbox-background-sync": "^6.5.4","workbox-broadcast-update": "^6.5.4","workbox-cacheable-response": "^6.5.4",diff --git a/src/data/library.ts b/src/data/library.tsindex e1b4fde7ca..564ccc7d39 100644--- a/src/data/library.ts+++ b/src/data/library.ts@@ -154,7 +154,8 @@ class Library {return this.setLibrary(() => {return new Promise<LibraryItems>(async (resolve, reject) => {try {- const source = await (typeof libraryItems === "function"+ const source = await (typeof libraryItems === "function" &&+ !(libraryItems instanceof Blob)? libraryItems(this.lastLibraryItems): libraryItems);diff --git a/yarn.lock b/yarn.lockindex 1e2d24b96d..2bc160d691 100644--- a/yarn.lock+++ b/yarn.lock@@ -10296,10 +10296,10 @@ typedarray-to-buffer@^3.1.5:dependencies:is-typedarray "^1.0.0"- version "4.5.5"- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"- integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==+ version "4.9.4"+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.4.tgz#a2a3d2756c079abda241d75f149df9d561091e78"+ integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==typeson-registry@^1.0.0-alpha.20:version "1.0.0-alpha.39"