Skip to content

Commit 9681aaa

Browse files
AbhiPrasadcadesalaberry
authored andcommitted
ref: remove node-experimental references (getsentry#11290)
With this change, there are two remaining references to node-experimental. 1. nextjs, which is handled by getsentry#11016 2. express integration tests, which I will address after getsentry#11285 gets merged Once those two are done, we can remove the old node packages entirely!
1 parent 30fa79b commit 9681aaa

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/bun/src/sdk.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
6666
* @example
6767
* ```
6868
*
69-
* const { addBreadcrumb } = require('@sentry/node-experimental');
69+
* const { addBreadcrumb } = require('@sentry/node');
7070
* addBreadcrumb({
7171
* message: 'My Breadcrumb',
7272
* // ...
@@ -76,7 +76,7 @@ export function getDefaultIntegrations(_options: Options): Integration[] {
7676
* @example
7777
* ```
7878
*
79-
* const Sentry = require('@sentry/node-experimental');
79+
* const Sentry = require('@sentry/node');
8080
* Sentry.captureMessage('Hello, world!');
8181
* Sentry.captureException(new Error('Good bye'));
8282
* Sentry.captureEvent({

packages/google-cloud-serverless/test/integrations/google-cloud-http.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { BigQuery } from '@google-cloud/bigquery';
44
import * as nock from 'nock';
55

66
import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN } from '@sentry/core';
7-
import { NodeClient, createTransport, setCurrentClient } from '@sentry/node-experimental';
7+
import { NodeClient, createTransport, setCurrentClient } from '@sentry/node';
88
import { googleCloudHttpIntegration } from '../../src/integrations/google-cloud-http';
99

1010
const mockSpanEnd = jest.fn();

0 commit comments

Comments
 (0)