Skip to content

Commit 8350677

Browse files
logaretmcodex
andcommitted
ref: use renamed native addon packages
Co-Authored-By: OpenAI Codex <codex@openai.com>
1 parent 9f081a2 commit 8350677

11 files changed

Lines changed: 26 additions & 26 deletions

‎packages/node-native/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"build:tarball": "npm pack"
6363
},
6464
"dependencies": {
65-
"@sentry-internal/node-native-stacktrace": "^0.5.0",
65+
"@sentry/node-native-stacktrace": "^0.5.1",
6666
"@sentry/core": "10.56.0",
6767
"@sentry/node": "10.56.0"
6868
},

‎packages/node-native/src/event-loop-block-integration.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import {
2121
mergeScopeData,
2222
} from '@sentry/core';
2323
import type { NodeClient } from '@sentry/node';
24-
import { registerThread, threadPoll } from '@sentry-internal/node-native-stacktrace';
24+
import { registerThread, threadPoll } from '@sentry/node-native-stacktrace';
2525
import type { ThreadBlockedIntegrationOptions, WorkerStartData } from './common';
2626
import { POLL_RATIO } from './common';
2727

‎packages/node-native/src/event-loop-block-watchdog.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import {
1616
uuid4,
1717
} from '@sentry/core';
1818
import { makeNodeTransport } from '@sentry/node';
19-
import { captureStackTrace, getThreadsLastSeen } from '@sentry-internal/node-native-stacktrace';
19+
import { captureStackTrace, getThreadsLastSeen } from '@sentry/node-native-stacktrace';
2020
import type { ThreadState, WorkerStartData } from './common';
2121
import { POLL_RATIO } from './common';
2222

‎packages/profiling-node/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"test:watch": "vitest --watch"
6262
},
6363
"dependencies": {
64-
"@sentry-internal/node-cpu-profiler": "^2.4.0",
64+
"@sentry/node-cpu-profiler": "^2.4.2",
6565
"@sentry/core": "10.56.0",
6666
"@sentry/node": "10.56.0"
6767
},

‎packages/profiling-node/src/integration.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
uuid4,
1414
} from '@sentry/core';
1515
import type { NodeClient, NodeOptions } from '@sentry/node';
16-
import { CpuProfilerBindings, ProfileFormat, type RawThreadCpuProfile } from '@sentry-internal/node-cpu-profiler';
16+
import { CpuProfilerBindings, ProfileFormat, type RawThreadCpuProfile } from '@sentry/node-cpu-profiler';
1717
import { isMainThread } from 'worker_threads';
1818
import { DEBUG_BUILD } from './debug-build';
1919
import { NODE_MAJOR } from './nodeVersion';

‎packages/profiling-node/src/spanProfileUtils.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type { CustomSamplingContext, Span } from '@sentry/core';
33
import { debug, spanIsSampled, spanToJSON, uuid4 } from '@sentry/core';
44
import type { NodeClient } from '@sentry/node';
5-
import { CpuProfilerBindings, type RawThreadCpuProfile } from '@sentry-internal/node-cpu-profiler';
5+
import { CpuProfilerBindings, type RawThreadCpuProfile } from '@sentry/node-cpu-profiler';
66
import { isMainThread } from 'worker_threads';
77
import { DEBUG_BUILD } from './debug-build';
88
import { isValidSampleRate } from './utils';

‎packages/profiling-node/src/utils.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
getDebugImagesForResources,
2323
uuid4,
2424
} from '@sentry/core';
25-
import type { RawChunkCpuProfile, RawThreadCpuProfile } from '@sentry-internal/node-cpu-profiler';
25+
import type { RawChunkCpuProfile, RawThreadCpuProfile } from '@sentry/node-cpu-profiler';
2626
import * as os from 'os';
2727
import { env, versions } from 'process';
2828
import { isMainThread, threadId } from 'worker_threads';

‎packages/profiling-node/test/integration.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { ProfileChunk, ProfilingIntegration, Transport } from '@sentry/core
22
import { createEnvelope, debug, getMainCarrier, GLOBAL_OBJ } from '@sentry/core';
33
import * as Sentry from '@sentry/node';
44
import type { NodeClientOptions } from '@sentry/node/build/types/types';
5-
import { CpuProfilerBindings } from '@sentry-internal/node-cpu-profiler';
5+
import { CpuProfilerBindings } from '@sentry/node-cpu-profiler';
66
import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
77
import { _nodeProfilingIntegration } from '../src/integration';
88
import { NODE_VERSION } from '../src/nodeVersion';

‎packages/profiling-node/test/integration.worker.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { ProfilingIntegration, Transport } from '@sentry/core';
22
import * as Sentry from '@sentry/node';
3-
import { CpuProfilerBindings } from '@sentry-internal/node-cpu-profiler';
3+
import { CpuProfilerBindings } from '@sentry/node-cpu-profiler';
44
import { afterEach, describe, expect, it, vi } from 'vitest';
55
import { _nodeProfilingIntegration } from '../src/integration';
66

‎packages/profiling-node/test/utils.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Event } from '@sentry/core';
22
import { addItemToEnvelope, createEnvelope, uuid4 } from '@sentry/core';
3-
import type { RawThreadCpuProfile } from '@sentry-internal/node-cpu-profiler';
3+
import type { RawThreadCpuProfile } from '@sentry/node-cpu-profiler';
44
import { describe, expect, it } from 'vitest';
55
import {
66
addProfilesToEnvelope,

0 commit comments

Comments
 (0)