From 75daae87a1cc0589eca1044b218b777b551b9c18 Mon Sep 17 00:00:00 2001 From: losalex <90795544+losalex@users.noreply.github.com> Date: Fri, 14 Oct 2022 01:38:23 +0300 Subject: [PATCH] fix: Instrumentation performance (#747) * fix: Instrumentation performance * Add lib definition on tsconfig.json * Add es2018 definition to lib in tsconfig.json --- package.json | 2 +- tsconfig.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ffd4a9b5..3357bb0f 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,7 @@ "precompile": "gts clean" }, "dependencies": { - "@google-cloud/logging": "^10.1.7", + "@google-cloud/logging": "^10.1.11", "google-auth-library": "^8.0.2", "lodash.mapvalues": "^4.6.0", "winston-transport": "^4.3.0" diff --git a/tsconfig.json b/tsconfig.json index 61951d4c..3246c2cf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,7 +2,11 @@ "extends": "./node_modules/gts/tsconfig-google.json", "compilerOptions": { "rootDir": ".", - "outDir": "build" + "outDir": "build", + "lib": [ + "es2018", + "dom" + ] }, "include": [ "src/*.ts",