Skip to content

Commit 07b5955

Browse files
committed
ref(build): Update to TypeScript 3.8.3 (#4491)
1 parent 52dafca commit 07b5955

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
"ts-node": "^8.10.2",
9090
"tslib": "^2.3.1",
9191
"typedoc": "^0.18.0",
92-
"typescript": "3.7.5"
92+
"typescript": "3.8.3"
9393
},
9494
"resolutions": {
9595
"**/agent-base": "5",

packages/integration-tests/suites/tracing/browsertracing/backgroundtab-pageload/test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ sentryTest('should finish pageload transaction when the page goes background', a
99

1010
await page.goto(url);
1111

12-
page.click('#go-background');
12+
void page.click('#go-background');
1313

1414
const pageloadTransaction = await getFirstSentryEnvelopeRequest<Event>(page);
1515

packages/integration-tests/suites/tracing/metrics/web-vitals-fid/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ sentryTest('should capture a FID vital.', async ({ browserName, getLocalTestPath
1212

1313
const url = await getLocalTestPath({ testDir: __dirname });
1414

15-
page.goto(url);
15+
await page.goto(url);
1616
// To trigger FID
17-
page.click('#fid-btn');
17+
await page.click('#fid-btn');
1818

1919
const eventData = await getFirstSentryEnvelopeRequest<Event>(page);
2020

packages/integration-tests/suites/tracing/metrics/web-vitals-lcp/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ sentryTest('should capture a LCP vital with element details.', async ({ browserN
1414
);
1515

1616
const url = await getLocalTestPath({ testDir: __dirname });
17-
page.goto(url);
17+
await page.goto(url);
1818

1919
// Force closure of LCP listener.
20-
page.click('body');
20+
await page.click('body');
2121
const eventData = await getFirstSentryEnvelopeRequest<Event>(page);
2222

2323
expect(eventData.measurements).toBeDefined();

packages/typescript/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"peerDependencies": {
1818
"tslint": "5.16.0",
19-
"typescript": "3.7.5"
19+
"typescript": "3.8.3"
2020
},
2121
"scripts": {
2222
"link:yarn": "yarn link",

scripts/verify-packages-versions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const pkg = require('../package.json');
22

3-
const TYPESCRIPT_VERSION = '3.7.5';
3+
const TYPESCRIPT_VERSION = '3.8.3';
44

55
if (pkg.devDependencies.typescript !== TYPESCRIPT_VERSION) {
66
console.error(`

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -21567,10 +21567,10 @@ typescript-memoize@^1.0.1:
2156721567
resolved "https://registry.yarnpkg.com/typescript-memoize/-/typescript-memoize-1.0.1.tgz#0a8199aa28f6fe18517f6e9308ef7bfbe9a98d59"
2156821568
integrity sha512-oJNge1qUrOK37d5Y6Ly2txKeuelYVsFtNF6U9kXIN7juudcQaHJQg2MxLOy0CqtkW65rVDYuTCOjnSIVPd8z3w==
2156921569

21570-
typescript@3.7.5:
21571-
version "3.7.5"
21572-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
21573-
integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==
21570+
typescript@3.8.3:
21571+
version "3.8.3"
21572+
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061"
21573+
integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w==
2157421574

2157521575
typescript@^3.9.5, typescript@^3.9.7:
2157621576
version "3.9.9"

0 commit comments

Comments
 (0)