Skip to content

Commit dcaf001

Browse files
authored
chore: Correct 'JavaScript' casing (#12569)
* chore: Correct JavaScript case * some more codeblock casing
1 parent 185c12d commit dcaf001

File tree

16 files changed

+26
-26
lines changed

16 files changed

+26
-26
lines changed

develop-docs/sdk/expected-features/setup-wizards/index.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If you create a new prompt, make sure you wrap it with the [`abortIfCancelled`](
142142
This will take care of correctly handling Cmd+C inputs, flushing Sentry events (if using [telemetry](#telemetry)) and exiting the process.
143143
For example:
144144

145-
```TypeScript
145+
```typescript
146146
const continueWithoutGit = await abortIfCancelled(
147147
clack.confirm({
148148
message:
@@ -236,7 +236,7 @@ This helps us understand how our users use the wizard, which actions they take a
236236

237237
It's easiest to use the `withTelemetery` wrapper function that's available in the `@sentry/wizard` package:
238238

239-
```TypeScript
239+
```typescript
240240
export async function runSourcemapsWizard(
241241
options: WizardOptions,
242242
): Promise<void> {
@@ -254,7 +254,7 @@ This will create a minimal Sentry client and send events, such as sessions, tran
254254

255255
If you want to add spans to individual steps within a wizard flow, you can use the `traceStep` helper function:
256256

257-
```TypeScript
257+
```typescript
258258
const res = await traceStep('npm-script-setup', () => setupNpmScriptInCI());
259259
```
260260

develop-docs/sdk/platform-specifics/serverless-sdks/aws-lambda.mdx

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ title: AWS Lambda
33
sidebar_order: 10
44
---
55

6-
Lambda functions can be written in numerous programming languages (Javascript,
6+
Lambda functions can be written in numerous programming languages (JavaScript,
77
Python, Ruby, Java, Go, ...). Sentry is currently supporting automatic
8-
instrumentation of Lambda functions written in Javascript and Python.
8+
instrumentation of Lambda functions written in JavaScript and Python.
99

1010
See the [Sentry Documentation](https://docs.sentry.io/product/integrations/cloud-monitoring/) on how to set up serverless instrumentation.
1111

@@ -29,7 +29,7 @@ like the Sentry SDK to your Lambda function.
2929
With the AWS Lambda Integrations users can add Sentry functionality to their
3030
Lambda function without changing the code of the Lambda function.
3131

32-
Sentry is providing a Lambda Layer including the Javascript SDK (or Python
32+
Sentry is providing a Lambda Layer including the JavaScript SDK (or Python
3333
SDK).
3434

3535
See the documentation to learn how customers can instrument their Lambda
@@ -42,7 +42,7 @@ Sentry is deploying one Lambda Layer for Node-based Lambda functions
4242
functions (`SentryPythonServerlessSDK`). Those Lambda layers are distributed
4343
to various AWS regions to be close to the users.
4444

45-
Both these layers include the latest Sentry Javascript SDK (or Python SDK).
45+
Both these layers include the latest Sentry JavaScript SDK (or Python SDK).
4646

4747
### Building of the Python Layer
4848

@@ -62,20 +62,20 @@ this can be found [here](https://github.com/getsentry/sentry-python/blob/master/
6262
To deploy a new version of the Lambda layer to AWS, you need to trigger a new
6363
release of the Python SDK.
6464

65-
### Building of the Javascript/Node Layer
65+
### Building of the JavaScript/Node Layer
6666

67-
The contents of the Layer directory for the Javascript/Node layer are built during the
67+
The contents of the Layer directory for the JavaScript/Node layer are built during the
6868
"Build & Test" workflow in Github actions. The steps necessary can be found
6969
[here](https://github.com/getsentry/sentry-javascript/blob/master/.github/workflows/build.yml).
7070

7171
This will prepare the Lambda layer directory, compress everything and upload the resulting zip file as
7272
an artifact to GitHub.
7373

74-
### Deployment of the Javascript/Node Layer
74+
### Deployment of the JavaScript/Node Layer
7575

7676
The zip file prepared in the previous step will be deployed to AWS Lambda by
7777
[Craft](https://github.com/getsentry/craft). The configuration of craft for doing
7878
this can be found [here](https://github.com/getsentry/sentry-javascript/blob/master/.craft.yml).
7979

8080
To deploy a new version of the Lambda layer to AWS, you need to trigger a new
81-
release of the Javascript SDK.
81+
release of the JavaScript SDK.

develop-docs/sdk/telemetry/traces/tracing-without-performance.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This means that SDKs by default always:
2222
TwP is active by default if users don't specify sampling options that enable span collection and sending (i.e. [regular tracing](#enable-regular-tracing)).
2323
For example, the following trivial SDK setup (note the absence of sampling options) enables TwP:
2424

25-
```JavaScript
25+
```javascript
2626
Sentry.init({
2727
dsn: "___PUBLIC_DSN___",
2828
});

docs/platforms/javascript/common/configuration/filtering.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Learn more about <PlatformLink to="/configuration/sampling/">configuring the sam
227227

228228
## Filtering Spans
229229

230-
Available since Javascript SDK version `8.2.0`.
230+
Available since JavaScript SDK version `8.2.0`.
231231

232232
To prevent certain spans from being reported to Sentry, use the <PlatformIdentifier name="before-send-span" /> configuration option which allows you to provide a function to modify and drop a child span.
233233
This function is only called for child spans of the root span. If you want to modify or drop the root span, including its child spans, use [`beforeSendTransaction`](#using-beforesendtransaction) instead.

docs/platforms/javascript/common/configuration/integrations/inboundfilters.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ This integration is enabled by default. If you'd like to modify your default int
99

1010
This integration allows you to ignore specific errors based on the type, message, or URLs in a given exception.
1111

12-
By default, it'll ignore errors that start with `Script error` or `Javascript error: Script error`.
12+
By default, it'll ignore errors that start with `Script error` or `JavaScript error: Script error`.
1313

1414
To configure this integration, use the `ignoreErrors`, `ignoreTransactions`, `denyUrls`, and `allowUrls` SDK options directly. For example:
1515

16-
```JavaScript
16+
```javascript
1717
Sentry.init({
1818
ignoreErrors: ["ignore-this-error"],
1919
});

docs/platforms/javascript/common/profiling/browser-profiling.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ What does Sentry's JavaScript browser profile offer that Chrome DevTools does no
8080

8181
Please note, that since the browser profiling API is currently only implemented in Chromium-based browsers, the profiles collected with Sentry's JavaScript browser profiling will inherently be biased toward that demographic. This is something that you'll need to consider if you're basing your decisions on the data collected.
8282

83-
We hope that as the Javascript browser profiling API gains adoption, other browsers will implement it as well. If you find the browser profiling feature helpful and would like to see it gain further adoption, please consider supporting the spec at the official WICG repository.
83+
We hope that as the JavaScript browser profiling API gains adoption, other browsers will implement it as well. If you find the browser profiling feature helpful and would like to see it gain further adoption, please consider supporting the spec at the official WICG repository.

docs/platforms/react-native/integrations/default.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _Import name: `Sentry.inboundFiltersIntegration`_
1414
This integration allows you to ignore specific errors based on the type,
1515
message, or URLs in a given exception.
1616

17-
By default, it'll ignore errors that start with `Script error` or `Javascript error: Script error`.
17+
By default, it'll ignore errors that start with `Script error` or `JavaScript error: Script error`.
1818

1919
To configure this integration, use the `ignoreErrors`, `ignoreTransactions`, `denyUrls`,
2020
and `allowUrls` SDK options directly. Keep in mind that `denyURLs` and `allowURLs`

docs/platforms/react-native/manual-setup/native-init.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ you have to [configure the sample rate](/platforms/apple/tracing/#configure-the-
3535

3636
<Alert>
3737

38-
Initializing with this method uses a Content Provider. Because the Javascript engine for React Native is also initialized using a Content Provider, we cannot guarantee that Sentry will always initialize before the JavaScript engine.
38+
Initializing with this method uses a Content Provider. Because the JavaScript engine for React Native is also initialized using a Content Provider, we cannot guarantee that Sentry will always initialize before the JavaScript engine.
3939

4040
</Alert>
4141

docs/platforms/react-native/migration/before-v5.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ See the JS SDK migration guide [here](https://github.com/getsentry/sentry-javasc
100100

101101
## From 3.x to 4.x
102102

103-
By bumping Sentry JavaScript to v7, new breaking changes were introduced, to learn more about what was changed, check out the [breaking changes changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md#breaking-changes) from Sentry Javascript.
103+
By bumping Sentry JavaScript to v7, new breaking changes were introduced, to learn more about what was changed, check out the [breaking changes changelog](https://github.com/getsentry/sentry-javascript/blob/7.0.0/CHANGELOG.md#breaking-changes) from Sentry JavaScript.
104104

105105
By bumping Sentry Android to v6, new breaking changes were introduced, to learn more about what was changed, check out the [migration guide](/platforms/android/migration/#migrating-from-iosentrysentry-android-5x-to-iosentrysentry-android-600).
106106

docs/platforms/react-native/sourcemaps/uploading/expo-advanced.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ npx sentry-cli sourcemaps upload \
154154

155155
## Manual Upload for JSC Release
156156

157-
After the Sentry Expo Plugin and Sentry Metro plugin are added to the application configuration, generate and upload Javascript Core source maps.
157+
After the Sentry Expo Plugin and Sentry Metro plugin are added to the application configuration, generate and upload JavaScript Core source maps.
158158

159159
### Generate Bundle
160160

docs/platforms/react-native/tracing/instrumentation/automatic-instrumentation.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ We track stalls that occur in your React Native app during a transaction and pro
9393

9494
### Fetch/XML Request Instrumentation
9595

96-
The tracing integration creates a child span for every `XMLHttpRequest` or `fetch` request on the Javascript layer that occurs while those transactions are open. Learn more about [traces, transactions, and spans](/product/sentry-basics/tracing/distributed-tracing/).
96+
The tracing integration creates a child span for every `XMLHttpRequest` or `fetch` request on the JavaScript layer that occurs while those transactions are open. Learn more about [traces, transactions, and spans](/product/sentry-basics/tracing/distributed-tracing/).
9797

9898
## Configuration Options
9999

docs/product/insights/frontend/web-vitals/web-vitals-concepts.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Google considers Core Web Vitals to be the most important metrics for measuring
2424
### Interaction to Next Paint (INP)
2525

2626
<Alert>
27-
On March 12, 2024, Interaction to Next Paint (INP) replaced First Input Delay (FID) as a Core Web Vital. Prior to this, INP was an experimental metric that Sentry did not collect. To begin collecting INP measurements, make sure your Javascript SDK version is [7.104.0](https://github.com/getsentry/sentry-javascript/releases/tag/7.104.0) or higher and that the option [`enableInp`](/platforms/javascript/tracing/instrumentation/automatic-instrumentation/#enableinp) is on.
27+
On March 12, 2024, Interaction to Next Paint (INP) replaced First Input Delay (FID) as a Core Web Vital. Prior to this, INP was an experimental metric that Sentry did not collect. To begin collecting INP measurements, make sure your JavaScript SDK version is [7.104.0](https://github.com/getsentry/sentry-javascript/releases/tag/7.104.0) or higher and that the option [`enableInp`](/platforms/javascript/tracing/instrumentation/automatic-instrumentation/#enableinp) is on.
2828
</Alert>
2929

3030
[Interaction to Next Paint (INP)](https://web.dev/articles/inp) measures the time from when a user interacts with a page (through a click, tap, or keyboard input) to when the next paint (rendering of content on the screen) occurs. INP aims to assess how quickly users see a response from the website after taking an action, which is crucial for providing a smooth and responsive user experience.

includes/debug-id-requirement.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
This guide assumes the following:
44

55
- `sentry-cli` version >= `2.17.0`
6-
- Sentry Javascript SDK version >= `7.47.0`
6+
- Sentry JavaScript SDK version >= `7.47.0`
77

88
</Alert>

platform-includes/getting-started-config/javascript.react.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ These hooks apply to all React components that are mounted to the container whic
8484

8585
### Add Error Boundary
8686

87-
If you're using React 16 or above, you can use the [Error Boundary](features/error-boundary/) component to automatically send Javascript errors from inside a component tree to Sentry, and set a fallback UI.
87+
If you're using React 16 or above, you can use the [Error Boundary](features/error-boundary/) component to automatically send JavaScript errors from inside a component tree to Sentry, and set a fallback UI.
8888

8989
### Set Up React Router
9090

platform-includes/getting-started-install/javascript.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ We also support installation via [CDN bundles](/platforms/javascript/install/loa
3232

3333
If you're updating your Sentry SDK to the latest version, check out our [migration guide](https://github.com/getsentry/sentry-javascript/blob/master/MIGRATION.md) to learn more about breaking changes.
3434

35-
If you are using our previous Browser Javascript SDK, you can access the <Link rel={`nofollow`} to={`/platforms/javascript/legacy-sdk/`}>legacy SDK documentation</Link>, until further notice.
35+
If you are using our previous Browser JavaScript SDK, you can access the <Link rel={`nofollow`} to={`/platforms/javascript/legacy-sdk/`}>legacy SDK documentation</Link>, until further notice.

platform-includes/performance/connect-services/javascript.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ For traces that begin in the front end, any requests made (and any requests your
44

55
<Alert>
66

7-
The `baggage` header was added with version 7 of the Sentry Javascript SDK and is not yet standardized across other Sentry SDKs. It is part of an ongoing effort to create a more frictionless and targeted sampling approach, and its content is subject to change.
7+
The `baggage` header was added with version 7 of the Sentry JavaScript SDK and is not yet standardized across other Sentry SDKs. It is part of an ongoing effort to create a more frictionless and targeted sampling approach, and its content is subject to change.
88

99
</Alert>
1010

0 commit comments

Comments
 (0)