Skip to content

Commit ef2ed6b

Browse files
authored
docs: Fix comments describing different import styles in readme (#9081)
1 parent 94c68e0 commit ef2ed6b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

packages/bun/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ To use this SDK, call `init(options)` as early as possible in the main entry mod
2323
hook into the environment. Note that you can turn off almost all side effects using the respective options.
2424

2525
```javascript
26-
// ES5 Syntax
26+
// CJS Syntax
2727
const Sentry = require('@sentry/bun');
28-
// ES6 Syntax
28+
// ESM Syntax
2929
import * as Sentry from '@sentry/bun';
3030

3131
Sentry.init({

packages/node-experimental/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ yarn add @sentry/node-experimental
3030
## Usage
3131

3232
```js
33-
// ES5 Syntax
33+
// CJS Syntax
3434
const Sentry = require('@sentry/node-experimental');
35-
// ES6 Syntax
35+
// ESM Syntax
3636
import * as Sentry from '@sentry/node-experimental';
3737

3838
Sentry.init({

packages/node/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ To use this SDK, call `init(options)` as early as possible in the main entry mod
2121
hook into the environment. Note that you can turn off almost all side effects using the respective options.
2222

2323
```javascript
24-
// ES5 Syntax
24+
// CJS syntax
2525
const Sentry = require('@sentry/node');
26-
// ES6 Syntax
26+
// ESM syntax
2727
import * as Sentry from '@sentry/node';
2828

2929
Sentry.init({

packages/vercel-edge/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ To use this SDK, call `init(options)` as early as possible in the main entry mod
2323
hook into the environment. Note that you can turn off almost all side effects using the respective options.
2424

2525
```javascript
26-
// ES5 Syntax
26+
// CJS Syntax
2727
const Sentry = require('@sentry/vercel-edge');
28-
// ES6 Syntax
28+
// ESM Syntax
2929
import * as Sentry from '@sentry/vercel-edge';
3030

3131
Sentry.init({

0 commit comments

Comments
 (0)