From 227d6f5d42a1b103ebf4f238fa836d6f20460550 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Aug 2021 22:09:35 +0000 Subject: [PATCH 1/2] Bump typescript from 4.3.5 to 4.4.2 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.3.5 to 4.4.2. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.3.5...v4.4.2) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1927cb6..9c40d86 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "patch-package": "^6.4", "rollup-plugin-analyzer": "^4.0", "sass": "^1.38", - "typescript": "^4.3", + "typescript": "^4.4", "vite": "^2.5", "vite-plugin-svg-sprite-component": "^1.0", "vue-tsc": "0.3.0" @@ -3486,9 +3486,9 @@ } }, "node_modules/typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", + "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -6528,9 +6528,9 @@ "dev": true }, "typescript": { - "version": "4.3.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.3.5.tgz", - "integrity": "sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==", + "version": "4.4.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.4.2.tgz", + "integrity": "sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==", "dev": true }, "universalify": { diff --git a/package.json b/package.json index 5ecd0c6..0ce0836 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "patch-package": "^6.4", "rollup-plugin-analyzer": "^4.0", "sass": "^1.38", - "typescript": "^4.3", + "typescript": "^4.4", "vite": "^2.5", "vite-plugin-svg-sprite-component": "^1.0", "vue-tsc": "0.3.0" From ec115615d1e4fe6a28757fa6855d2a572e149c1b Mon Sep 17 00:00:00 2001 From: James Lyne Date: Fri, 27 Aug 2021 02:40:25 +0100 Subject: [PATCH 2/2] Fix build with Typescript 4.4 --- src/leaflet/tileLayer/LiveAtlasTileLayer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/leaflet/tileLayer/LiveAtlasTileLayer.ts b/src/leaflet/tileLayer/LiveAtlasTileLayer.ts index 4c4ea3d..b3d573a 100644 --- a/src/leaflet/tileLayer/LiveAtlasTileLayer.ts +++ b/src/leaflet/tileLayer/LiveAtlasTileLayer.ts @@ -118,7 +118,7 @@ export abstract class LiveAtlasTileLayer extends TileLayer { //The tile onload listener will take it from here const blob = await response.blob(); tile.src = URL.createObjectURL(blob); - } catch(e) { + } catch(e: any) { if (e instanceof DOMException && e.name === 'AbortError') { return; }