Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

chore: bump [email protected] (#4283)

David Luzar620b66208588
diff --git a/package.json b/package.json
index 900265c52a..51a5a1afeb 100644
--- a/package.json
+++ b/package.json
@@ -52,7 +52,7 @@
"roughjs": "4.5.0",
"sass": "1.43.4",
"socket.io-client": "2.3.1",
- "typescript": "4.4.4"
+ "typescript": "4.5.2"
},
"devDependencies": {
"@excalidraw/eslint-config": "1.0.0",
@@ -61,7 +61,6 @@
"@types/lodash.throttle": "4.1.6",
"@types/pako": "1.0.2",
"@types/resize-observer-browser": "0.1.6",
- "@types/web": "0.0.47",
"chai": "4.3.4",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "3.3.1",
diff --git a/src/packages/excalidraw/package.json b/src/packages/excalidraw/package.json
index da3ad2b713..2cf9237a57 100644
--- a/src/packages/excalidraw/package.json
+++ b/src/packages/excalidraw/package.json
@@ -63,7 +63,7 @@
"sass-loader": "12.3.0",
"terser-webpack-plugin": "5.2.5",
"ts-loader": "9.2.6",
- "typescript": "4.4.4",
+ "typescript": "4.5.2",
"webpack": "5.64.0",
"webpack-bundle-analyzer": "4.5.0",
"webpack-cli": "4.9.1"
diff --git a/src/packages/excalidraw/yarn.lock b/src/packages/excalidraw/yarn.lock
index 7b6829d75f..6d0a3712f5 100644
--- a/src/packages/excalidraw/yarn.lock
+++ b/src/packages/excalidraw/yarn.lock
@@ -2607,10 +2607,10 @@ tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
- version "4.4.4"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c"
- integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==
+ version "4.5.2"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
+ integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
unicode-canonical-property-names-ecmascript@^1.0.4:
version "1.0.4"
diff --git a/tsconfig-types.json b/tsconfig-types.json
index eca3b5a7b2..1484598075 100644
--- a/tsconfig-types.json
+++ b/tsconfig-types.json
@@ -7,7 +7,7 @@
"outDir": "src/packages/excalidraw/types",
"jsx": "react-jsx",
"target": "es6",
- "lib": ["esnext"],
+ "lib": ["dom", "dom.iterable", "esnext"],
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
diff --git a/tsconfig.json b/tsconfig.json
index 8ce58b6566..c8b09c92cf 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"target": "es6",
- "lib": ["esnext"],
+ "lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
diff --git a/yarn.lock b/yarn.lock
index 9d84c42c45..3739fb3792 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2435,11 +2435,6 @@
dependencies:
source-map "^0.6.1"
- version "0.0.47"
- resolved "https://registry.yarnpkg.com/@types/web/-/web-0.0.47.tgz#a48314590af421939f59fd2ec975a77b8d54dfbd"
- integrity sha512-kNX2VcGuQt4Xen78iIbUXyj+WxNPlP7hGCno/sJSI4p2zo7u6jAtryAKwNNqOoOaWfFZas1lbKJKOxUarsUzog==
-
"@types/webpack-sources@*":
version "2.1.0"
resolved "https://registry.npmjs.org/@types/webpack-sources/-/webpack-sources-2.1.0.tgz"
@@ -14376,10 +14371,10 @@ typedarray@^0.0.6:
resolved "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
- version "4.4.4"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.4.tgz#2cd01a1a1f160704d3101fd5a58ff0f9fcb8030c"
- integrity sha512-DqGhF5IKoBl8WNf8C1gu8q0xZSInh9j1kJJMqT3a94w1JzVaBU4EXOSMrz9yDqMT0xt3selp83fuFMQ0uzv6qA==
+ version "4.5.2"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
+ integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
typeson-registry@^1.0.0-alpha.20:
version "1.0.0-alpha.39"