diff --git a/packages/bun/README.md b/packages/bun/README.md index 170059f193f5..56c795793532 100644 --- a/packages/bun/README.md +++ b/packages/bun/README.md @@ -23,9 +23,9 @@ To use this SDK, call `init(options)` as early as possible in the main entry mod hook into the environment. Note that you can turn off almost all side effects using the respective options. ```javascript -// ES5 Syntax +// CJS Syntax const Sentry = require('@sentry/bun'); -// ES6 Syntax +// ESM Syntax import * as Sentry from '@sentry/bun'; Sentry.init({ diff --git a/packages/node-experimental/README.md b/packages/node-experimental/README.md index 461a04f28bfb..5bebaa336e17 100644 --- a/packages/node-experimental/README.md +++ b/packages/node-experimental/README.md @@ -30,9 +30,9 @@ yarn add @sentry/node-experimental ## Usage ```js -// ES5 Syntax +// CJS Syntax const Sentry = require('@sentry/node-experimental'); -// ES6 Syntax +// ESM Syntax import * as Sentry from '@sentry/node-experimental'; Sentry.init({ diff --git a/packages/node/README.md b/packages/node/README.md index e6ef857edc8a..cab92a553d25 100644 --- a/packages/node/README.md +++ b/packages/node/README.md @@ -21,9 +21,9 @@ To use this SDK, call `init(options)` as early as possible in the main entry mod hook into the environment. Note that you can turn off almost all side effects using the respective options. ```javascript -// ES5 Syntax +// CJS syntax const Sentry = require('@sentry/node'); -// ES6 Syntax +// ESM syntax import * as Sentry from '@sentry/node'; Sentry.init({ diff --git a/packages/vercel-edge/README.md b/packages/vercel-edge/README.md index d3e7849ffdab..e6e893bc5044 100644 --- a/packages/vercel-edge/README.md +++ b/packages/vercel-edge/README.md @@ -23,9 +23,9 @@ To use this SDK, call `init(options)` as early as possible in the main entry mod hook into the environment. Note that you can turn off almost all side effects using the respective options. ```javascript -// ES5 Syntax +// CJS Syntax const Sentry = require('@sentry/vercel-edge'); -// ES6 Syntax +// ESM Syntax import * as Sentry from '@sentry/vercel-edge'; Sentry.init({