Skip to content

Commit 26e5ce1

Browse files
committed
bumping prettier to latest
1 parent 877701f commit 26e5ce1

File tree

30 files changed

+89
-112
lines changed

30 files changed

+89
-112
lines changed

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
We will follow up with docs how to set up the SDK soon.
1717
For now, If you're on SvelteKit version `2.31.0` or newer, you can easily opt into the new feature:
18-
1918
1. Enable [experimental tracing and instrumentation support](https://svelte.dev/docs/kit/observability) in `svelte.config.js`:
2019
2. Move your `Sentry.init()` call from `src/hooks.server.(js|ts)` to the new `instrumentation.server.(js|ts)` file:
2120

@@ -650,7 +649,6 @@ Work in this release was contributed by @0xbad0c0d3 and @alSergey. Thank you for
650649
- **feat(nuxt): Add Cloudflare Nitro plugin ([#15597](https://github.com/getsentry/sentry-javascript/pull/15597))**
651650

652651
A Nitro plugin for `@sentry/nuxt` which initializes Sentry when deployed to Cloudflare (`cloudflare-pages` preset).
653-
654652
1. Remove the previous server config file: `sentry.server.config.ts`
655653
2. Add a plugin in `server/plugins` (e.g. `server/plugins/sentry-cloudflare-setup.ts`)
656654
3. Add this code in your plugin file
@@ -1215,7 +1213,6 @@ This PR adds trace propagation to `@sentry/react-router` by providing utilities
12151213
- **Logging Improvements**
12161214

12171215
Sentry is adding support for [structured logging](https://github.com/getsentry/sentry-javascript/discussions/15916). In this release we've made a variety of improvements to logging functionality in the Sentry SDKs.
1218-
12191216
- feat(node): Add server.address to nodejs logs ([#16006](https://github.com/getsentry/sentry-javascript/pull/16006))
12201217
- feat(core): Add sdk name and version to logs ([#16005](https://github.com/getsentry/sentry-javascript/pull/16005))
12211218
- feat(core): Add sentry origin attribute to console logs integration ([#15998](https://github.com/getsentry/sentry-javascript/pull/15998))
@@ -1264,7 +1261,6 @@ Work in this release was contributed by @Page- and @Fryuni. Thank you for your c
12641261
### Important Changes
12651262

12661263
- **feat: Add support for logs**
1267-
12681264
- feat(node): Add logging public APIs to Node SDKs ([#15764](https://github.com/getsentry/sentry-javascript/pull/15764))
12691265
- feat(core): Add support for `beforeSendLog` ([#15814](https://github.com/getsentry/sentry-javascript/pull/15814))
12701266
- feat(core): Add support for parameterizing logs ([#15812](https://github.com/getsentry/sentry-javascript/pull/15812))
@@ -1314,13 +1310,11 @@ Work in this release was contributed by @Page- and @Fryuni. Thank you for your c
13141310
```
13151311

13161312
The result will be an object with the following properties:
1317-
13181313
- `"no-client-active"`: There was no active client when the function was called. This possibly means that the SDK was not initialized yet.
13191314
- `"sentry-unreachable"`: The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.
13201315
- `undefined`: The SDK is working as expected.
13211316

13221317
- **SDK Tracing Performance Improvements for Node SDKs**
1323-
13241318
- feat: Stop using `dropUndefinedKeys` ([#15796](https://github.com/getsentry/sentry-javascript/pull/15796))
13251319
- feat(node): Only add span listeners for instrumentation when used ([#15802](https://github.com/getsentry/sentry-javascript/pull/15802))
13261320
- ref: Avoid `dropUndefinedKeys` for `spanToJSON` calls ([#15792](https://github.com/getsentry/sentry-javascript/pull/15792))

dev-packages/browser-integration-tests/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ occur while writing tests for Sentry Browser SDK.
9595

9696
Before running, a page for each test case is built under the case folder inside `dist`. If a page build is failed,
9797
it's recommended to check:
98-
9998
- If both default `template.hbs` and `init.js` are defined for the test group.
10099
- If a `subject.js` is defined for the test case.
101100
- If either of `init.js` or `subject.js` contain non-browser code.

dev-packages/browser-integration-tests/suites/replay/ignoreMutations/test.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,15 @@ sentryTest('allows to ignore mutations via `ignoreMutations` option', async ({ g
2626
const requests = await requestsPromise;
2727

2828
// All transform mutatinos are ignored and not captured
29-
const transformMutations = requests.replayRecordingSnapshots.filter(
30-
item =>
31-
(item.data as mutationData)?.attributes?.some(
32-
attr => attr.attributes['style'] && attr.attributes['class'] !== 'moved',
33-
),
29+
const transformMutations = requests.replayRecordingSnapshots.filter(item =>
30+
(item.data as mutationData)?.attributes?.some(
31+
attr => attr.attributes['style'] && attr.attributes['class'] !== 'moved',
32+
),
3433
);
3534

3635
// Should capture the final class mutation
37-
const classMutations = requests.replayRecordingSnapshots.filter(
38-
item => (item.data as mutationData)?.attributes?.some(attr => attr.attributes['class']),
36+
const classMutations = requests.replayRecordingSnapshots.filter(item =>
37+
(item.data as mutationData)?.attributes?.some(attr => attr.attributes['class']),
3938
);
4039

4140
expect(transformMutations).toEqual([]);

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -142,13 +142,10 @@ export const countEnvelopes = async (
142142

143143
page.on('request', requestHandler);
144144

145-
setTimeout(
146-
() => {
147-
page.off('request', requestHandler);
148-
resolve(reqCount);
149-
},
150-
options?.timeout || 1000,
151-
);
145+
setTimeout(() => {
146+
page.off('request', requestHandler);
147+
resolve(reqCount);
148+
}, options?.timeout || 1000);
152149
});
153150

154151
if (options?.url) {

dev-packages/e2e-tests/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,11 @@ for it to work with both regular and prerelease versions:
8181
"scripts": {
8282
"test": "echo \"Hello world!\"",
8383
"test:build": "pnpm install",
84-
"test:assert": "pnpm test"
84+
"test:assert": "pnpm test",
8585
},
8686
"dependencies": {
87-
"@sentry/node": "latest || *"
88-
}
87+
"@sentry/node": "latest || *",
88+
},
8989
}
9090
```
9191

dev-packages/e2e-tests/test-applications/create-react-app/src/index.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
body {
22
margin: 0;
3-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
4-
'Droid Sans', 'Helvetica Neue', sans-serif;
3+
font-family:
4+
-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
5+
'Helvetica Neue', sans-serif;
56
-webkit-font-smoothing: antialiased;
67
-moz-osx-font-smoothing: grayscale;
78
}

dev-packages/e2e-tests/test-applications/create-remix-app-express-vite-dev/tests/server-transactions.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ test('Sends two linked transactions (server & client) to Sentry', async ({ page
3939

4040
const httpServerTraceId = httpServerTransaction.contexts?.trace?.trace_id;
4141
const httpServerSpanId = httpServerTransaction.contexts?.trace?.span_id;
42-
const loaderSpanId = httpServerTransaction?.spans?.find(span => span.data && span.data['code.function'] === 'loader')
43-
?.span_id;
42+
const loaderSpanId = httpServerTransaction?.spans?.find(
43+
span => span.data && span.data['code.function'] === 'loader',
44+
)?.span_id;
4445

4546
const pageLoadTraceId = pageloadTransaction.contexts?.trace?.trace_id;
4647
const pageLoadSpanId = pageloadTransaction.contexts?.trace?.span_id;

dev-packages/e2e-tests/test-applications/create-remix-app-express/tests/server-transactions.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ test('Propagates trace when ErrorBoundary is triggered', async ({ page }) => {
8181

8282
const httpServerTraceId = httpServerTransaction.contexts?.trace?.trace_id;
8383
const httpServerSpanId = httpServerTransaction.contexts?.trace?.span_id;
84-
const loaderSpanId = httpServerTransaction?.spans?.find(span => span.data && span.data['code.function'] === 'loader')
85-
?.span_id;
84+
const loaderSpanId = httpServerTransaction?.spans?.find(
85+
span => span.data && span.data['code.function'] === 'loader',
86+
)?.span_id;
8687

8788
const pageLoadTraceId = pageloadTransaction.contexts?.trace?.trace_id;
8889
const pageLoadSpanId = pageloadTransaction.contexts?.trace?.span_id;

dev-packages/e2e-tests/test-applications/create-remix-app-v2/tests/server-transactions.test.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ test('Sends two linked transactions (server & client) to Sentry', async ({ page
3838

3939
const httpServerTraceId = httpServerTransaction.contexts?.trace?.trace_id;
4040
const httpServerSpanId = httpServerTransaction.contexts?.trace?.span_id;
41-
const loaderSpanId = httpServerTransaction?.spans?.find(span => span.data && span.data['code.function'] === 'loader')
42-
?.span_id;
41+
const loaderSpanId = httpServerTransaction?.spans?.find(
42+
span => span.data && span.data['code.function'] === 'loader',
43+
)?.span_id;
4344

4445
const pageLoadTraceId = pageloadTransaction.contexts?.trace?.trace_id;
4546
const pageLoadSpanId = pageloadTransaction.contexts?.trace?.span_id;

dev-packages/e2e-tests/test-applications/ember-classic/app/components/link.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface Args {
1414
Since glimmer components are, as of now, not instrumented, this leads to different test results.
1515
*/
1616
export default class LinkComponent extends Component<Args> {
17-
@service public declare router: RouterService;
17+
@service declare public router: RouterService;
1818

1919
public get href(): string {
2020
return this.router.urlFor(this.args.route);

0 commit comments

Comments
 (0)