Skip to content

Commit 8491886

Browse files
committed
Merge branch 'develop' into cg-manual-sync
2 parents 5c90322 + b0a1e0c commit 8491886

File tree

177 files changed

+1133
-624
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+1133
-624
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
es2017: true,
1010
},
1111
parserOptions: {
12-
ecmaVersion: 2018,
12+
ecmaVersion: 2020,
1313
},
1414
extends: ['@sentry-internal/sdk'],
1515
ignorePatterns: [

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7+
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
8+
79
## 9.39.0
810

911
### Important Changes

dev-packages/browser-integration-tests/scripts/detectFlakyTests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ function getApproximateNumberOfTests(testPath: string): number {
131131
const content = fs.readFileSync(path.join(process.cwd(), testPath, 'test.ts'), 'utf-8');
132132
const matches = content.match(/sentryTest\(/g);
133133
return Math.max(matches ? matches.length : 1, 1);
134-
} catch (e) {
134+
} catch {
135135
console.error(`Could not read file ${testPath}`);
136136
return 1;
137137
}

dev-packages/browser-integration-tests/suites/feedback/attachTo/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentryTest('should capture feedback with custom button', async ({ getLocalTestUr
1717

1818
try {
1919
return getEnvelopeType(req) === 'feedback';
20-
} catch (err) {
20+
} catch {
2121
return false;
2222
}
2323
});

dev-packages/browser-integration-tests/suites/feedback/captureFeedback/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentryTest('should capture feedback', async ({ getLocalTestUrl, page }) => {
1717

1818
try {
1919
return getEnvelopeType(req) === 'feedback';
20-
} catch (err) {
20+
} catch {
2121
return false;
2222
}
2323
});

dev-packages/browser-integration-tests/suites/feedback/captureFeedbackAndReplay/hasSampling/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ sentryTest('should capture feedback', async ({ forceFlushReplay, getLocalTestUrl
2525

2626
try {
2727
return getEnvelopeType(req) === 'feedback';
28-
} catch (err) {
28+
} catch {
2929
return false;
3030
}
3131
});

dev-packages/browser-integration-tests/suites/feedback/captureFeedbackCsp/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentryTest('should capture feedback', async ({ getLocalTestUrl, page }) => {
1717

1818
try {
1919
return getEnvelopeType(req) === 'feedback';
20-
} catch (err) {
20+
} catch {
2121
return false;
2222
}
2323
});

dev-packages/browser-integration-tests/suites/integrations/moduleMetadata/appliesMetadata/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Sentry.init({
1414
moduleMetadataEntries.push(frame.module_metadata);
1515
});
1616
});
17-
} catch (e) {
17+
} catch {
1818
// noop
1919
}
2020
}

dev-packages/browser-integration-tests/suites/integrations/moduleMetadata/appliesMetadataWithRewriteFrames/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Sentry.init({
2828
moduleMetadataEntries.push(frame.module_metadata);
2929
});
3030
});
31-
} catch (e) {
31+
} catch {
3232
// noop
3333
}
3434
}

dev-packages/browser-integration-tests/utils/helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const envelopeParser = (request: Request | null): unknown[] => {
2323
return envelope.split('\n').map(line => {
2424
try {
2525
return JSON.parse(line);
26-
} catch (error) {
26+
} catch {
2727
return line;
2828
}
2929
});
@@ -172,7 +172,7 @@ export async function runScriptInSandbox(
172172
): Promise<void> {
173173
try {
174174
await page.addScriptTag({ path: impl.path, content: impl.content });
175-
} catch (e) {
175+
} catch {
176176
// no-op
177177
}
178178
}

0 commit comments

Comments
 (0)