From 5cbd79961ba3bf2fda6ae94a28f27876ea9894ac Mon Sep 17 00:00:00 2001 From: Justin Poehnelt Date: Thu, 11 Nov 2021 16:26:39 -0700 Subject: [PATCH] fix: use new version of @googlemaps/url-signature (#703) * fix: use new version of @googlemaps/url-signature * chore: include dom to avoid ts error :/ --- package-lock.json | 6 +++--- package.json | 2 +- tsconfig.json | 8 ++------ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index aec172198c..7b8a0bfcab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -443,9 +443,9 @@ "dev": true }, "@googlemaps/url-signature": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@googlemaps/url-signature/-/url-signature-1.0.3.tgz", - "integrity": "sha512-X19BrKR2cvC9XacyQVWzmVH7tKoOVlTE+Wfb5ookq3hs1OyJGfOt2eOKQ2+PkvU0r5ebBR0o9dCAH+Kf46HABw==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@googlemaps/url-signature/-/url-signature-1.0.4.tgz", + "integrity": "sha512-9OPJzSi/1hz7ieDbdVCEIgpfIgdPyAA+EkOrbDXPsG81//TtrIiRS/0RrDCsG0d2UGcXBxMkZGF6Y1sbsMP7oA==", "requires": { "crypto-js": "^4.1.1" } diff --git a/package.json b/package.json index f3cbbd3dbe..955bd2b94f 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "test:all": "jest" }, "dependencies": { - "@googlemaps/url-signature": "^1.0.2", + "@googlemaps/url-signature": "^1.0.4", "agentkeepalive": "^4.1.0", "axios": "^0.24.0", "query-string": "^7.0.1", diff --git a/tsconfig.json b/tsconfig.json index a838451877..c8152c16f5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,15 +3,11 @@ "target": "es6", "module": "commonjs", "outDir": "dist", - "sourceMap": true, - "types": [ - "node", - "jest" - ], + "sourceMap": true, "declaration": true, "declarationDir": "./dist", "resolveJsonModule": true, - "lib": ["ESNext"] + "lib": ["ESNext", "DOM"] }, "include": [ "src/**/*.ts"