diff --git a/package.json b/package.json index 14d73feddc03..e1f42542b33d 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "ts-node": "^8.10.2", "tslib": "^2.3.1", "typedoc": "^0.18.0", - "typescript": "3.7.5" + "typescript": "3.8.3" }, "resolutions": { "**/agent-base": "5", diff --git a/packages/integration-tests/suites/tracing/browsertracing/backgroundtab-pageload/test.ts b/packages/integration-tests/suites/tracing/browsertracing/backgroundtab-pageload/test.ts index 42787cbb4819..47f695b0440c 100644 --- a/packages/integration-tests/suites/tracing/browsertracing/backgroundtab-pageload/test.ts +++ b/packages/integration-tests/suites/tracing/browsertracing/backgroundtab-pageload/test.ts @@ -9,7 +9,7 @@ sentryTest('should finish pageload transaction when the page goes background', a await page.goto(url); - page.click('#go-background'); + void page.click('#go-background'); const pageloadTransaction = await getFirstSentryEnvelopeRequest(page); diff --git a/packages/integration-tests/suites/tracing/metrics/web-vitals-fid/test.ts b/packages/integration-tests/suites/tracing/metrics/web-vitals-fid/test.ts index ed3a86676867..0eaa60a75031 100644 --- a/packages/integration-tests/suites/tracing/metrics/web-vitals-fid/test.ts +++ b/packages/integration-tests/suites/tracing/metrics/web-vitals-fid/test.ts @@ -12,9 +12,9 @@ sentryTest('should capture a FID vital.', async ({ browserName, getLocalTestPath const url = await getLocalTestPath({ testDir: __dirname }); - page.goto(url); + await page.goto(url); // To trigger FID - page.click('#fid-btn'); + await page.click('#fid-btn'); const eventData = await getFirstSentryEnvelopeRequest(page); diff --git a/packages/integration-tests/suites/tracing/metrics/web-vitals-lcp/test.ts b/packages/integration-tests/suites/tracing/metrics/web-vitals-lcp/test.ts index 2eb554013280..32f86d3c54d1 100644 --- a/packages/integration-tests/suites/tracing/metrics/web-vitals-lcp/test.ts +++ b/packages/integration-tests/suites/tracing/metrics/web-vitals-lcp/test.ts @@ -14,10 +14,10 @@ sentryTest('should capture a LCP vital with element details.', async ({ browserN ); const url = await getLocalTestPath({ testDir: __dirname }); - page.goto(url); + await page.goto(url); // Force closure of LCP listener. - page.click('body'); + await page.click('body'); const eventData = await getFirstSentryEnvelopeRequest(page); expect(eventData.measurements).toBeDefined(); diff --git a/packages/typescript/package.json b/packages/typescript/package.json index f212b98752dc..c564c0c3e344 100644 --- a/packages/typescript/package.json +++ b/packages/typescript/package.json @@ -16,7 +16,7 @@ }, "peerDependencies": { "tslint": "5.16.0", - "typescript": "3.7.5" + "typescript": "3.8.3" }, "scripts": { "link:yarn": "yarn link", diff --git a/scripts/verify-packages-versions.js b/scripts/verify-packages-versions.js index fb6a6e95ec7f..e0efc39311bc 100644 --- a/scripts/verify-packages-versions.js +++ b/scripts/verify-packages-versions.js @@ -1,6 +1,6 @@ const pkg = require('../package.json'); -const TYPESCRIPT_VERSION = '3.7.5'; +const TYPESCRIPT_VERSION = '3.8.3'; if (pkg.devDependencies.typescript !== TYPESCRIPT_VERSION) { console.error(` diff --git a/yarn.lock b/yarn.lock index 81cd3f64044a..26947533ab88 100644 --- a/yarn.lock +++ b/yarn.lock @@ -21523,10 +21523,10 @@ typescript-memoize@^1.0.1: resolved "https://registry.yarnpkg.com/typescript-memoize/-/typescript-memoize-1.0.1.tgz#0a8199aa28f6fe18517f6e9308ef7bfbe9a98d59" integrity sha512-oJNge1qUrOK37d5Y6Ly2txKeuelYVsFtNF6U9kXIN7juudcQaHJQg2MxLOy0CqtkW65rVDYuTCOjnSIVPd8z3w== -typescript@3.7.5: - version "3.7.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae" - integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw== +typescript@3.8.3: + version "3.8.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" + integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== typescript@^3.9.5, typescript@^3.9.7: version "3.9.9"